Re: [PATCH] avoid overwriting minimum length of unknown strings (PR 79376)

2017-02-06 Thread Jeff Law
On 02/04/2017 10:37 AM, Martin Sebor wrote: There's a "thinko" in the get_range_strlen() function that computes the range of possible string lengths for a character pointer that may point to an array holding a string of unknown length and a string literal. The bug lets the function return the le

[PATCH] avoid overwriting minimum length of unknown strings (PR 79376)

2017-02-04 Thread Martin Sebor
There's a "thinko" in the get_range_strlen() function that computes the range of possible string lengths for a character pointer that may point to an array holding a string of unknown length and a string literal. The bug lets the function return the length of the string as the lower bound (and th