CVS update: samba/source/lib

Andrew Tridgell tridge at samba.anu.edu.au
Wed Aug 12 00:55:26 EST 1998


> The contents of format_bufr are passed through vslprintf() before being
> being placed into the buffer, so I assumed that there would be no '%'
> escapes left.  I'd be interested in knowing how they are preserved through
> the vslprintf() call. 

Think carefully about this example:

  char *param = "/usr/bin/lpr %s";
  DEBUG(0,("parameter=%s\n", param));

that's pretty close to the one that caused my machine to segv.



More information about the samba-cvs mailing list