lwip-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up


From: Sylvain Rochet
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. STABLE-2_1_0_RELEASE-422-g729b3da
Date: Fri, 16 Oct 2020 15:25:11 -0400 (EDT)

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  729b3da96dba9dea52a30f3d1d2046299ab1e0f3 (commit)
       via  49bbc2d4bfe7c360e604721fd7ff8375aaf0f070 (commit)
       via  678a7a40448226c4e9d391e352dce0c76e671675 (commit)
      from  c385f31076b27efb8ee37f00cb5568783a58f299 (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 729b3da96dba9dea52a30f3d1d2046299ab1e0f3
Author: Sylvain Rochet <gradator@gradator.net>
Date:   Fri Oct 16 21:16:05 2020 +0200

    PPP: remove casts from unsigned (strlen return value) to signed when 
checking auth
    
    In theory, if provided username or password is over 0x80000000 byte long
    (err...), casts to signed integer of strlen() return values is going to
    return negative values breaking lengths checks.
    
    Fix it by only using unsigned integer or size_t (guaranteed to be
    unsigned) comparisons.

commit 49bbc2d4bfe7c360e604721fd7ff8375aaf0f070
Author: Sylvain Rochet <gradator@gradator.net>
Date:   Fri Oct 16 19:27:46 2020 +0200

    PPP, PPPoE: prevent integer overflows when computing packets length
    
    Check that service_name and concentrator_name strings length will not
    trigger integer overflows when computing packets length.

commit 678a7a40448226c4e9d391e352dce0c76e671675
Author: Sylvain Rochet <gradator@gradator.net>
Date:   Fri Oct 16 17:17:40 2020 +0200

    PPP, PPPoE: remove casts from unsigned (strlen return value) to signed
    
    Those casts do not serve any purpose and can be safely removed.

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

Summary of changes:
 src/include/netif/ppp/ppp_impl.h |  2 +-
 src/netif/ppp/auth.c             | 17 +++++++++--------
 src/netif/ppp/pppoe.c            | 29 +++++++++++++++++++++++------
 3 files changed, 33 insertions(+), 15 deletions(-)


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]