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

GitHub noreply at github.com
Tue Jul 10 20:32:24 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 160891cbfd32424fdaa4425ebe5b3f206a7bf4cb
      https://github.com/openvswitch/ovs/commit/160891cbfd32424fdaa4425ebe5b3f206a7bf4cb
  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