lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #47426] incorrect typecast in pppapi.c


From: William Hayes
Subject: [lwip-devel] [bug #47426] incorrect typecast in pppapi.c
Date: Wed, 16 Mar 2016 11:05:55 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0

URL:
  <http://savannah.nongnu.org/bugs/?47426>

                 Summary: incorrect typecast in pppapi.c
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: williamh
            Submitted on: Wed 16 Mar 2016 11:05:54 AM GMT
                Category: PPP
                Severity: 3 - Normal
              Item Group: Crash Error
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

commit f7a3d6cca5507c4fbb00eefa7a1451982833f58b

static err_t
pppapi_do_ppp_set_default(struct tcpip_api_call *m)
{
  struct pppapi_msg_msg *msg = (struct pppapi_msg_msg *)m;
  
  ppp_set_default(msg->ppp);
  return ERR_OK;
}


changed to (and the other ...do... functions)

static err_t
pppapi_do_ppp_set_default(struct tcpip_api_call *m)
{
  struct pppapi_msg *msg = (struct pppapi_msg *)m;
  
  ppp_set_default(msg->msg.ppp);
  return ERR_OK;
}

fixed the problem.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47426>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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