[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-4.3 bug report
From: |
Dennis Williamson |
Subject: |
Re: bash-4.3 bug report |
Date: |
Mon, 14 Apr 2014 13:52:57 -0500 |
On Apr 14, 2014 11:52 AM, "Dave Rutherford" <dave@evilpettingzoo.com> wrote:
>
> On Mon, Apr 14, 2014 at 12:22 PM, David Binderman <dcb314@hotmail.com>
wrote:
> > Anyone experienced looking at the code will always need to examine it
> > more closely to find out why it's a good idea in this case to use an
array
> > index and *then* sanity check it's value.
>
> But in this case it's a limiting check, not a bounds check,
> and having it second helps to make this clear. I agree that
> the bug lies in the static analyzer.
>
Using a well named constant instead of a magic value would help document
the intent.
- bash-4.3 bug report, David Binderman, 2014/04/14
- Re: bash-4.3 bug report, Chet Ramey, 2014/04/14
- Re: bash-4.3 bug report, Eric Blake, 2014/04/14
- Re: bash-4.3 bug report, Andreas Schwab, 2014/04/14
- Re: bash-4.3 bug report, Eric Blake, 2014/04/14
- Re: bash-4.3 bug report, Andreas Schwab, 2014/04/14
- Re: bash-4.3 bug report, Eric Blake, 2014/04/14
- RE: bash-4.3 bug report, David Binderman, 2014/04/14
- Re: bash-4.3 bug report, Eric Blake, 2014/04/14
- Re: bash-4.3 bug report, Dave Rutherford, 2014/04/14
- Re: bash-4.3 bug report,
Dennis Williamson <=
- Re: bash-4.3 bug report, Chet Ramey, 2014/04/14