History log of /external/iproute2/ip/ipmaddr.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8aacb9bbbd741c2873ee90118264ae2d5bbd9ae3 25-Sep-2015 Christoph Schulz <develop@kristov.de> ip: allow using a device "help" (or a prefix thereof)

Device names that match "help" or a prefix thereof should be allowed anywhere
a device name can be used. Note that a suitable keyword ("dev" or "name", the
latter for "ip tunnel") has to be used in these cases to resolve ambiguities.

Signed-off-by: Christoph Schulz <develop@kristov.de>
Reported-by: Leonhard Preis <leonhard@pre.is>
Reported-by: Wilhelm Wijkander <lists@0x5e.se>
/external/iproute2/ip/ipmaddr.c
d947b2384e03b74627831a3d5ba8fe21d4595dc6 14-Mar-2013 Stephen Hemminger <stephen@networkplumber.org> ipmaddr: add whitespace around =

fix warning from parser
/external/iproute2/ip/ipmaddr.c
d1f28cf181a6f77f230d90267eef0ecfbcb25f30 12-Feb-2013 Stephen Hemminger <stephen@networkplumber.org> ip: make local functions static
/external/iproute2/ip/ipmaddr.c
19bcc05beade576878abc04c53f17d4a5a620610 03-Oct-2011 Thomas Jarosch <thomas.jarosch@intra2net.com> Fix file descriptor leak on error in read_igmp()

Detected by cppcheck.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
/external/iproute2/ip/ipmaddr.c
1f7190db3920f76cca7fdcd1bb318c6cfa4a3266 23-Mar-2011 Brandon Philips <bphilips@suse.de> ip: fix memory leak in ipmaddr.c

If the continue is taken, then there is a memory leak.

https://bugzilla.novell.com/show_bug.cgi?id=538996

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Brandon Philips <bphilips@suse.de>
/external/iproute2/ip/ipmaddr.c
38c867d2a82d6f2b60450550fbaaadc5d9c77579 09-Mar-2011 Stephen Hemminger <stephen.hemminger@vyatta.com> Add checks for fgets() when reading proc

If expected proc headers are missing, catch and print error.
/external/iproute2/ip/ipmaddr.c
7f71c0cae2db61890474e04ba3a26e40219e5561 25-Nov-2008 Olivier Fourdan <ofourdan@redhat.com> ip maddr show” on an infiniband address causes a stack corruption

“ip maddr show” on an infiniband address causes a stack corruption
because the length of the address for Infiniband (20 bytes, as
described in kernel doc Documentation/infiniband/ipoib.txt) does not
fit on the 16 bytes of the field in which it gets stored.

The proposed patch increases the size of the hardware address from 4
__u32 to 8 and also adds a check to avoid overriding the available
size while parsing the hardware address.

This bug affects current upstream code AFAICT.

Hope this helps,
Cheers,
Olivier.

“ip maddr show ib0” causes a stack corruption because the length of the address
for Infiniband (20 see kernel doc Documentation/infiniband/ipoib.txt) does not
fit on the 16 bytes of the field in which it gets stored.

The proposed patch increases the size of the hardware address from 4 u32 to 8
and adds a check to avoid overriding the available size while parsing the
hardware address.
/external/iproute2/ip/ipmaddr.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/ipmaddr.c
f332d169246447bd5e258ac03d5ee840a70adb1e 06-Jul-2005 shemminger <shemminger> Cleanup GCC4 warnings about signedness.
/external/iproute2/ip/ipmaddr.c
e5779fb2c8ca16f9fd81ae7efd14c20614b1498a 10-Jun-2004 osdl.org!shemminger <osdl.org!shemminger> more problems when kernel headers included before user headers.

(Logical change 1.29)
/external/iproute2/ip/ipmaddr.c
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/ip/ipmaddr.c
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/ip/ipmaddr.c