diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-04-26 11:09:49 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-04-30 16:54:08 +0000 |
commit | c6eb5bc967d3d70016b4e4e182b3d68b1e558f60 (patch) | |
tree | a8b7e58956d6df963dcbbe2771131ca6bb109c59 /src/vppinfra/random.h | |
parent | a878014c6e0c9d9d5677fe9feeb8a9effb894e3d (diff) |
elf: fix memcmp() overflow
name can be (and will be) smaller than section_name_start. Both name and
section_name_start are NULL-terminated so we can use strcmp.
Change-Id: Iec414810109f9267de20c25c0fe601df35daf89e
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vppinfra/random.h')
0 files changed, 0 insertions, 0 deletions