[SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. STABLE-2_1_0_RELEASE-511-g39a9c5a

[email protected] (Simon Goldschmidt) Fri, 1 Oct 2021 13:44:16 -0400 (EDT)
Newsgroups gmane.network.lwip.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  39a9c5a3c5dad7939ad11c8fb29ff1f08f5fb5bd (commit)
      from  7ec4e9be304e7f8953740f10b2c810a292e89449 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 39a9c5a3c5dad7939ad11c8fb29ff1f08f5fb5bd
Author: Simon Goldschmidt <[email protected]>
Date:   Fri Oct 1 19:44:07 2021 +0200

    netif: fix removing ext-callback while callback is called
    
    When a registered netif ext-callback unregisters itself when being
    called (e.g. because some state is reached by this event), the invoke
    iteration might access uninitialized memory or at least stop the
    iteration (because next is set to null).
    
    Fix his by caching the next pointer during iteration before calling
    callbacks.
    
    Signed-off-by: Simon Goldschmidt <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 src/core/netif.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
lwIP - A Lightweight TCPIP stack

_______________________________________________
lwip-commits mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-commits