Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Siju George
On 9/23/06, Alexander Farber <[EMAIL PROTECTED]> wrote: On 9/22/06, Siju George <[EMAIL PROTECTED]> wrote: > http://fredrik.rambris.com/files/sleezeball-0.6.tar.gz I used sleezeball and other filters for squid earlier too, but now I've just switched to the Adblock Plus plugin for Firefox: https:

Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Raja Subramanian
On 9/23/06, Alexander Farber <[EMAIL PROTECTED]> wrote: On 9/22/06, Siju George <[EMAIL PROTECTED]> wrote: > http://fredrik.rambris.com/files/sleezeball-0.6.tar.gz I used sleezeball and other filters for squid earlier too, but now I've just switched to the Adblock Plus plugin for Firefox: https:

Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Alexander Farber
On 9/22/06, Siju George <[EMAIL PROTECTED]> wrote: http://fredrik.rambris.com/files/sleezeball-0.6.tar.gz I used sleezeball and other filters for squid earlier too, but now I've just switched to the Adblock Plus plugin for Firefox: https://addons.mozilla.org/ IMHO the only effective way to fil

Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Bob Beck
> - The system can prevent the worst at run-time by truncating strings. .. and you also have to think about cases where truncation *can* matter, and if so, detect it and react appropriately by using the return value from strlcpy (look at the man page for a very good example of how to

Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Bernd Schoeller
On Fri, 22 Sep 2006 12:52:43 +0200, Siju George <[EMAIL PROTECTED]> wrote: I understand that the OpenBSD team has replaced strcpy() with strlcpy() in their tree. It has not been replaced, there is just a warning. How did you people do it? Do we have to manually go to each place and make the

Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Siju George
On 9/22/06, Otto Moerbeek <[EMAIL PROTECTED]> wrote: On Fri, 22 Sep 2006, Siju George wrote: > I understand that the OpenBSD team has replaced strcpy() with > strlcpy() in their tree. > How did you people do it? Do we have to manually go to each place and > make the change or is there any tool t

Re: automate changing strcpy() to strlcpy()

2006-09-22 Thread Otto Moerbeek
On Fri, 22 Sep 2006, Siju George wrote: > Hi, > > I am trying to install > > http://fredrik.rambris.com/files/sleezeball-0.6.tar.gz > > on OpenBSD 3.9 > > I get this following error. Those are warnings. > > == > # ls > COPY