Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-11 Thread Jon Trulson
On Fri, 10 Aug 2012, Marc Balmer wrote: > Am 10.08.12 07:57, schrieb Marc Balmer: >> Am 10.08.12 04:29, schrieb Aaron W. Hsu: >>> Jon Trulson writes: >>> Hmmm... I'm leary of introducing further dependancies... Is it really worth it? Do you have any idea how many strcpy et. al. are in

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Marc Balmer
Am 10.08.12 07:57, schrieb Marc Balmer: > Am 10.08.12 04:29, schrieb Aaron W. Hsu: >> Jon Trulson writes: >> >>> Hmmm... I'm leary of introducing further dependancies... Is it really >>> worth it? Do you have any idea how many strcpy et. al. are in CDE? :) >> >> I agree that there is no need to g

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Marc Balmer
Am 10.08.12 04:29, schrieb Aaron W. Hsu: > Jon Trulson writes: > >> Hmmm... I'm leary of introducing further dependancies... Is it really >> worth it? Do you have any idea how many strcpy et. al. are in CDE? :) > > I agree that there is no need to go on a hunt to replace all strcpy with > strl

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Aaron W . Hsu
Jon Trulson writes: >Hmmm... I'm leary of introducing further dependancies... Is it really >worth it? Do you have any idea how many strcpy et. al. are in CDE? :) I agree that there is no need to go on a hunt to replace all strcpy with strlcpy, but we *should* go through and make sure that strc

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Marc Balmer
Am 09.08.12 20:02, schrieb Jon Trulson: > On Thu, 9 Aug 2012, Marc Balmer wrote: > >> A few more sprintf() to snprintf() conversion. >> > > Applied, thanks! > > --- > >> We need to find a proper way to replace strcpy() and strcat(), maybe >> keep a local copy of strlcpy() and strlcat() from Ope

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Jon Trulson
On Thu, 9 Aug 2012, Frederic Koehler wrote: > On Thu, Aug 9, 2012 at 5:45 AM, Pascal Stumpf wrote: >> On Thu, 09 Aug 2012 10:56:10 +0200, Pascal Stumpf wrote: >>> On Thu, 09 Aug 2012 07:40:43 +0200, Marc Balmer wrote: A few more sprintf() to snprintf() conversion. We need to find a

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Jon Trulson
On Thu, 9 Aug 2012, Marc Balmer wrote: > A few more sprintf() to snprintf() conversion. > Applied, thanks! --- > We need to find a proper way to replace strcpy() and strcat(), maybe > keep a local copy of strlcpy() and strlcat() from OpenBSD around > somewhere? Other suggestions? > Hmmm... I'

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Frederic Koehler
On Thu, Aug 9, 2012 at 5:45 AM, Pascal Stumpf wrote: > On Thu, 09 Aug 2012 10:56:10 +0200, Pascal Stumpf wrote: >> On Thu, 09 Aug 2012 07:40:43 +0200, Marc Balmer wrote: >> > A few more sprintf() to snprintf() conversion. >> > >> > We need to find a proper way to replace strcpy() and strcat(), may

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Pascal Stumpf
On Thu, 09 Aug 2012 10:56:10 +0200, Pascal Stumpf wrote: > On Thu, 09 Aug 2012 07:40:43 +0200, Marc Balmer wrote: > > A few more sprintf() to snprintf() conversion. > > > > We need to find a proper way to replace strcpy() and strcat(), maybe > > keep a local copy of strlcpy() and strlcat() from Op

Re: [cdesktopenv-devel] Fix more sprintf() calls

2012-08-09 Thread Pascal Stumpf
On Thu, 09 Aug 2012 07:40:43 +0200, Marc Balmer wrote: > A few more sprintf() to snprintf() conversion. > > We need to find a proper way to replace strcpy() and strcat(), maybe > keep a local copy of strlcpy() and strlcat() from OpenBSD around > somewhere? Other suggestions? +1 Or link with -lb