summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip4_format.c
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2018-08-09 15:30:57 +0200
committerNeale Ranns <nranns@cisco.com>2018-08-09 15:45:03 +0000
commit7fad624b09f8d1256360222dc547519d8b40dd1c (patch)
tree2ab6ff5ab7a8cd8f6a5aca53e2ef768958632151 /src/vnet/ip/ip4_format.c
parentf7f4e399e04774a6ca00b67006610f5b8f7a37c6 (diff)
acl-plugin: fix failures in some of IPv4 test-debug testcases
Commit 1c7bf5d41737984907e8bad1dc832eb6cb1d6288 added the poisoning of the newly freed memory in debug builds, exposing a logic error in mask assignment code - it passed a pointer to within a pool to a function which might potentially expand the pool. This resulted in a failure of the test in the debug version. Fix that by making a local copy of the value before passing a pointer to it. Change-Id: I73f3670672c3d86778aad0f944d052d0480cc593 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/ip/ip4_format.c')
0 files changed, 0 insertions, 0 deletions