libnl/lib
Marc de Kruijf 1ed227d3a9 Patch for unexpectedly aligned messages
I found the following bug, where nlmsg_ok() in lib/msg.c would
incorrectly return 'true' when the input argument 'remaining' was a negative
number.  This happens when the message is not aligned the way that libnl
expects (although it is still legal).

In the comparison of the signed and unsigned numbers on line 284, the signed
number gets converted to an unsigned number, which is unexpected and
naturally produces a bug.  My patch is below.  The cast is ugly, but it
fixes the problem.
2009-09-02 18:43:03 +02:00
..
fib_lookup restructure module documentation order 2008-12-10 18:12:30 +01:00
genl restructure module documentation order 2008-12-10 18:12:30 +01:00
netfilter restructure module documentation order 2008-12-10 18:12:30 +01:00
route - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
.gitignore Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
addr.c restructure module documentation order 2008-12-10 18:12:30 +01:00
attr.c Introduce nla_strdup() to help parse strings attributes 2008-06-13 16:40:41 +02:00
cache.c Remove old line counting while dumping 2008-05-23 23:45:14 +02:00
cache_mngr.c Fix up naming changes 2008-12-10 18:16:31 +01:00
cache_mngt.c restructure module documentation order 2008-12-10 18:12:30 +01:00
data.c restructure module documentation order 2008-12-10 18:12:30 +01:00
defs.h.in Remove leftover definition of verbose errors 2008-04-30 18:53:01 +02:00
doc.c Documentation update 2008-12-03 19:58:41 +01:00
error.c libnl: add some errno codes to nl_syserr2nlerr 2008-10-30 12:29:37 +01:00
handlers.c restructure module documentation order 2008-12-10 18:12:30 +01:00
Makefile - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
msg.c Patch for unexpectedly aligned messages 2009-09-02 18:43:03 +02:00
nl.c Fix up naming changes 2008-12-10 18:16:31 +01:00
object.c nl_object_clone: properly clone ce_mask field 2009-07-20 11:58:57 +02:00
socket.c release_local_port: properly compute the bitmap position 2009-05-04 14:56:24 +02:00
utils.c restructure module documentation order 2008-12-10 18:12:30 +01:00