> The common thread here is RTA_ALIGN(). My guess is that it's now > returning an unsigned. Adding an (int) to each one should fix it. E.g.: > > if ((int)RTA_ALIGN(rta->rta_len) + len > maxlen) {
Yep, works great. (Both in ./libnetlink.c and ./kacpimon/libnetlink.c) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-