View | Details | Raw Unified | Return to bug 94547
Collapse All | Expand All

(-)dhcpcd-1.3.22pl4.orig/client.c (+3 lines)
Lines 128-133 Link Here
128
       	default:
128
       	default:
129
	  if ( p[1] )
129
	  if ( p[1] )
130
	    {
130
	    {
131
	      if (p + 2 + p[1] >= end)
132
	      goto swend; /* corrupt packet */
133
	      
131
	      if ( DhcpOptions.len[*p] == p[1] )
134
	      if ( DhcpOptions.len[*p] == p[1] )
132
	        memcpy(DhcpOptions.val[*p],p+2,p[1]);
135
	        memcpy(DhcpOptions.val[*p],p+2,p[1]);
133
	      else
136
	      else

Return to bug 94547