[SLOF] [PATCH 0/5] Some more small IPv6 fixes
Alexey Kardashevskiy
aik at ozlabs.ru
Thu May 5 16:23:19 AEST 2016
On 05/03/2016 05:55 AM, Thomas Huth wrote:
> Here are some more IPv6 fixes. Some spots of the code accidentially
> dereferenced NULL pointers and wrote data into the low memory
> (you can easily see this by filling the memory at the SLOF prompt
> with "0 200 ff fill", then do the IPv6 network loading, and then
> look at the memory again with "0 200 dump"). And some other parts of
> the code did not use buffers correctly (e.g. missing initialization
> with memset, leaking memory, or buffers too small).
>
> Thomas Huth (5):
> ipv6: Fix possible NULL-pointer dereference in send_ipv6()
> ipv6: Clear memory after malloc if necessary
> ipv6: Fix memory leak in set_ipv6_address() / ip6_create_ll_address()
> ipv6: Fix NULL pointer dereference in ip6addr_add()
> ipv6: Replace magic number 1500 with ETH_MTU_SIZE (i.e. 1518)
>
> clients/net-snk/app/netlib/ipv6.c | 70 +++++++++++++++++++--------------------
> clients/net-snk/app/netlib/ipv6.h | 2 +-
> clients/net-snk/app/netlib/ndp.c | 1 +
> clients/net-snk/app/netlib/ndp.h | 2 +-
> 4 files changed, 38 insertions(+), 37 deletions(-)
Thanks, applied.
--
Alexey
More information about the SLOF
mailing list