[ovs-git] [openvswitch/ovs] f2add3: lex: Fix parsing of long tokens.

GitHub noreply at github.com
Mon Jan 8 19:18:19 UTC 2018


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: f2add3d4147f6d2a5594a7046797a75a763ea4a9
      https://github.com/openvswitch/ovs/commit/f2add3d4147f6d2a5594a7046797a75a763ea4a9
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Changed paths:
    M ovn/lib/lex.c

  Log Message:
  -----------
  lex: Fix parsing of long tokens.

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 <bshastry at sec.t-labs.tu-berlin.de>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>




More information about the git mailing list