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

GitHub noreply at github.com
Tue Oct 2 21:52:05 UTC 2018


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 1a727023086e862069f654269a53e27f4d4a6ed6
      https://github.com/openvswitch/ovs/commit/1a727023086e862069f654269a53e27f4d4a6ed6
  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