summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-24 21:28:11 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-26 15:34:43 +0200
commit901c983b6dca860e675fd77f703a44f15d900101 (patch)
tree2b13559d1c2526d8799c06c62550eb9a22a632a0 /factory
parent745c5152c210738e20bae5e377262e270f7a0335 (diff)
sd-ndisc: rework size checking in ndisc_ra_parse()
Let's better check the size before we subtract. Also, let's change the size argument to size_t, as it cannot be signed anyway. Finally, use EBADMSG for indicating invalid packets, like we do everywhere else.
Diffstat (limited to 'factory')
0 files changed, 0 insertions, 0 deletions