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

Submitted by:  William Hayes <williamh>
Submitted on:  Wed 16 Mar 2016 11:05:54 AM UTC  
 
Category: PPPSeverity: 3 - Normal
Item Group: Crash ErrorStatus: Fixed
Privacy: PublicAssigned to: Dirk Ziegelmeier <dziegel>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

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

Thanks for reporting!

Dirk Ziegelmeier <dziegel>
Project MemberIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Mar 2016 11:38:31 AM UTCdziegelStatusNone=>Fixed
      Assigned toNone=>dziegel
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1