[ovs-git] [openvswitch/ovs] 2d2ef6: lex: Fix buffer overrun parsing overlong hexadecim...

GitHub noreply at github.com
Tue Oct 2 21:51:38 UTC 2018


  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: 2d2ef654bc9ed8ad77102707bdf13a2b271fa8ce
      https://github.com/openvswitch/ovs/commit/2d2ef654bc9ed8ad77102707bdf13a2b271fa8ce
  Author: Yifeng Sun <pkusunyifeng at gmail.com>
  Date:   2018-10-02 (Tue, 02 Oct 2018)

  Changed paths:
    M ovn/lib/lex.c

  Log Message:
  -----------
  lex: Fix buffer overrun parsing overlong hexadecimal constants.

In previous code, if hexit == 0, then the boundary for 'out' is
not checked. This patch fixes it.

Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10710
Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list