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. f226e107a621949ce7933569cecf64b29e6b9b1d
Date: Sat, 2 Jul 2016 15:13:57 +0000 (UTC)

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  f226e107a621949ce7933569cecf64b29e6b9b1d (commit)
       via  d4f824398c6bda372afdcd6adc2a55184ddeb56b (commit)
       via  b438a0d6fd008753839235f034be89d47e6c2d88 (commit)
       via  7c368b7f369fb410d4a5a45c82b24c460f3d214c (commit)
      from  06782c699c218f80fa9dda351f10da0d6d0341bc (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 f226e107a621949ce7933569cecf64b29e6b9b1d
Author: Sylvain Rochet <address@hidden>
Date:   Sat Jul 2 17:13:10 2016 +0200

    PPP: updated pppd followup

commit d4f824398c6bda372afdcd6adc2a55184ddeb56b
Author: Sylvain Rochet <address@hidden>
Date:   Sat Jul 2 16:55:57 2016 +0200

    PPP, from PPPD upstream: fix sign-extension when displaying bytes in octal
    
    print_string() displays characters as \\%.03o but without first
    casting it from "char" to "unsigned char" so it gets sign-extended
    to an int. This causes output like \37777777630 instead of \230.
    
    (Based from pppd commit 5e8c3cb256a7e86e3572a82a75d51c6850efdbdc)

commit b438a0d6fd008753839235f034be89d47e6c2d88
Author: Sylvain Rochet <address@hidden>
Date:   Sat Jul 2 16:20:57 2016 +0200

    PPP, PPPoE: fix potential out-of-bound if AC cookie is too long
    
    Found by coverity.
    
    Introduced by c0e7d54e37 "Removed 2 mem_mallocs: error string can be a
    global variable, include memory for sc_ac_cookie in struct pppoe_softc;
    commented out unused code (sc_service_name/sc_concentrator_name)".
    
    Fixes it by bailing out if received AC cookie is to big for us, this
    can't really happen anyway.

commit 7c368b7f369fb410d4a5a45c82b24c460f3d214c
Author: Sylvain Rochet <address@hidden>
Date:   Sat Jul 2 15:11:02 2016 +0200

    PPP, PPPoS: use offsetof in place of the traditional NULL hack
    
    There is absolutely no reason I did it this way in the first
    place, maybe I feared that not all compilers have a proper
    implementation of offsetof() ? It sounds stupid.

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

Summary of changes:
 src/netif/ppp/PPPD_FOLLOWUP |   93 ++++++++++++++++++++++++++++++++++++++++++-
 src/netif/ppp/pppoe.c       |    4 ++
 src/netif/ppp/pppos.c       |    5 ++-
 src/netif/ppp/utils.c       |    2 +-
 4 files changed, 100 insertions(+), 4 deletions(-)


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



reply via email to

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