buglwIP - A Lightweight TCP/IP stack - Bugs: bug #47426, incorrect typecast in pppapi.c

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47426: incorrect typecast in pppapi.c

Submitter:  William Hayes <williamh>
Submitted:  Wed 16 Mar 2016 11:05:54 AM UTC
   
 
Category:  PPP Severity:  3 - Normal
Item Group:  Crash Error Status:  Fixed
Privacy:  Public Assigned to:  dziegel
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 16 Mar 2016 11:38:31 AM UTC, comment #1: 

Thanks for reporting!

Dirk Ziegelmeier <dziegel>
Group administrator
Wed 16 Mar 2016 11:05:54 AM UTC, original submission:  

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.

William Hayes <williamh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by williamh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-16 dziegel StatusNone Fixed
        Assigned toNone dziegel
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code