diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-24 21:28:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-26 15:34:43 +0200 |
commit | 901c983b6dca860e675fd77f703a44f15d900101 (patch) | |
tree | 2b13559d1c2526d8799c06c62550eb9a22a632a0 /src/boot | |
parent | 745c5152c210738e20bae5e377262e270f7a0335 (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 'src/boot')
0 files changed, 0 insertions, 0 deletions