aboutsummaryrefslogtreecommitdiffstats
path: root/src/svm/fifo_segment.h
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2022-09-15 11:46:30 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2022-09-15 11:46:30 +0000
commit6e1eaad216c41ce1cb4af13a2214f4d86e094414 (patch)
treed6fad719bedb93c2125053ff5dbe0ac28f15e064 /src/svm/fifo_segment.h
parent5f694d1ecfbe2315e9bbcc98a83b83620e6f6b94 (diff)
prom: fix coverity 277312, 277317
If one attempts to add a pattern with zero length, first time it will succeed, and the second time it will cause an invalid memcmp call. Solution: do not allow to add zero-length patterns. Type: fix Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Change-Id: Ic08e021486153be605a4b12a2fe4422307bf68d2
Diffstat (limited to 'src/svm/fifo_segment.h')
0 files changed, 0 insertions, 0 deletions