[ovs-git] [openvswitch/ovs] 117460: conntrack: Fix using alg_exp_entry out of scope.

GitHub noreply at github.com
Tue Jul 10 20:29:08 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 117460269b4a6f6acd09de406fb8bb7205e3f512
      https://github.com/openvswitch/ovs/commit/117460269b4a6f6acd09de406fb8bb7205e3f512
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2018-07-10 (Tue, 10 Jul 2018)

  Changed paths:
    M lib/conntrack.c

  Log Message:
  -----------
  conntrack: Fix using alg_exp_entry out of scope.

'alg_exp_entry' is allocated on stack memory, but could be used via
'alg_exp' pointer inside 'write_ct_md' function, i.e. outside its scope.

CC: Darrell Ball <dlu998 at gmail.com>
Fixes: bd5e81a0e596 ("Userspace Datapath: Add ALG infra and FTP.")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service 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