You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pppd , demand.c , demand_conf()
When it never dials up ok, every demand-dial will apply a memory,but never free.
framemax = PPP_MRU;
framemax += PPP_HDRLEN + PPP_FCSLEN;
frame = malloc(framemax);
suggestion:
if (NULL == frame)
{
frame = malloc(framemax);
}
The text was updated successfully, but these errors were encountered:
pppd , demand.c , demand_conf()
When it never dials up ok, every demand-dial will apply a memory,but never free.
framemax = PPP_MRU;
framemax += PPP_HDRLEN + PPP_FCSLEN;
frame = malloc(framemax);
suggestion:
if (NULL == frame)
{
frame = malloc(framemax);
}
The text was updated successfully, but these errors were encountered: