No description
Find a file
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
doc Update doc style sheet to latest default 2008-12-03 20:00:03 +01:00
include - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
lib Patch for unexpectedly aligned messages 2009-09-02 18:43:03 +02:00
src - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
tests - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
.gitignore ignore more temporary files 2008-05-05 17:13:02 +02:00
aclocal.m4 Initial import 2007-09-15 01:28:01 +02:00
ChangeLog Pushed to pre8 due to wrong version string in pre7 2007-11-21 18:24:11 +01:00
configure.in adapt configure to generate libnl-2.0.pc 2008-08-19 01:48:50 +02:00
COPYING Initial import 2007-09-15 01:28:01 +02:00
install-sh Initial import 2007-09-15 01:28:01 +02:00
libnl-2.0.pc.in Changed libnl-1.pc.in to libnl-2.0.pc.in 2008-08-19 01:46:22 +02:00
Makefile Changed libnl-1.pc.in to libnl-2.0.pc.in 2008-08-19 01:46:22 +02:00
Makefile.opts.in Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
Makefile.rules Define datarootdir to silent autoconf 2008-04-29 23:01:39 +02:00