summaryrefslogtreecommitdiff
path: root/sysctl.c
diff options
context:
space:
mode:
authorNathaniel Ferguson <nathaniel@leapfrog.foundation>2020-05-03 03:17:46 -0400
committerTobias Klauser <tklauser@distanz.ch>2020-05-04 14:09:51 +0200
commit3e69db49e3c0b8e59c80782e6bad3b02336a28d2 (patch)
treeac3a8b0c9f95c50d22e28fbef658c8c80e67888d /sysctl.c
parenta8c3c53c271b21878ea7c1c083bb5abfd634bb41 (diff)
proto_lldp: fix pointer increment in LLDP_TLV_SYSTEM_CAP case
Fixed a typo wherein a pointer was incremented by sizeof(uint32_t) after reading sizeof(uint16_t) and before reading another sizeof(uint16_t). In essence a potential out of bounds memory access (read) due to improper increment of pointer Signed-off-by: Nathaniel Ferguson <nathaniel@leapfrog.foundation> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'sysctl.c')
0 files changed, 0 insertions, 0 deletions