Re: [ovs-dev] [PATCH] lex: Fix parsing of long tokens.

2018-01-08 Thread Ben Pfaff
On Fri, Jan 05, 2018 at 10:20:21AM -0800, Gregory Rose wrote: > On 1/2/2018 11:15 AM, Ben Pfaff wrote: > >When a token is longer than the built-in 256-byte buffer, a buffer is > >malloc()'d but it was not properly null-terminated. > > > >Found by afl-fuzz. > > > >Reported-by: Bhargava Shastry

Re: [ovs-dev] [PATCH] lex: Fix parsing of long tokens.

2018-01-05 Thread Gregory Rose
On 1/2/2018 11:15 AM, Ben Pfaff wrote: When a token is longer than the built-in 256-byte buffer, a buffer is malloc()'d but it was not properly null-terminated. Found by afl-fuzz. Reported-by: Bhargava Shastry Signed-off-by: Ben Pfaff ---

[ovs-dev] [PATCH] lex: Fix parsing of long tokens.

2018-01-02 Thread Ben Pfaff
When a token is longer than the built-in 256-byte buffer, a buffer is malloc()'d but it was not properly null-terminated. Found by afl-fuzz. Reported-by: Bhargava Shastry Signed-off-by: Ben Pfaff --- ovn/lib/lex.c | 2 +- 1 file changed, 1