WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] incorrect memset usage.

On Tue, Apr 05, 2005 at 07:58:52AM +0100, Ian Pratt wrote:
 > 
 > I think these have already been applied, no?
 > Thanks,
 > Ian 

Only in the unstable tree.
This one..

 > > --- xen-2.0.bk/tools/libxutil/sys_net.c~   2005-03-31 
 > > 01:11:27.852264603 -0500
 > > +++ xen-2.0.bk/tools/libxutil/sys_net.c    2005-03-31 
 > > 01:11:39.320054735 -0500
 > > @@ -310,7 +310,7 @@ char *mac_ntoa(const unsigned char *mac)
 > >      static char buf[MAC_LENGTH + 1];
 > >      int buf_n = sizeof(buf);
 > >  
 > > -    memset(buf, buf_n, 0);
 > > +    memset(buf, 0, buf_n);
 > >      snprintf(buf, buf_n, "%02x:%02x:%02x:%02x:%02x:%02x",
 > >               mac[0], mac[1], mac[2],
 > >               mac[3], mac[4], mac[5]);
 > > 

Still isn't it seems..

(12:16:09:davej@mesh:xen-2.0.bk)$ bk pull
Pull bk://xen.bkbits.net/xen-2.0.bk
  -> file://home/davej/xen-2.0.bk
Nothing to pull.


                Dave

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>