On Tue, Nov 04, 2003 at 04:20:26PM +0100, Jorge Bernal (Koke) wrote: > Package: wnpp > Version: unavailable; reported 2003-11-04 > Severity: wishlist > > * Package name : cdcat > Version : 0.92 > Upstream Author : Peter Deak <[EMAIL PROTECTED]> > * URL : http://cdcat.sf.net > * License : GPL > Description : a graphical (QT based) catalog program
> It's already packaged and I will RFS. The package is at: > > http://www.sindominio.net/koke/debian Please apply the following patch: --- config.cpp-orig 2003-11-04 15:36:58.000000000 +0000 +++ config.cpp 2003-11-04 15:37:06.000000000 +0000 @@ -92,7 +92,7 @@ #else if(getenv("HOME") == NULL) return 1; - sprintf(str,"%s/%s",getenv("HOME"),CONFIGFILE); + snprintf(str,sizeof(str)-1,"%s/%s",getenv("HOME"),CONFIGFILE); #endif cf = fopen(str,"r"); I'm not convinced that the database code is bug free, there appear to be a some assumptions made on the size of the tags which are not tested. I might have a look at this more thoroughly later. Steve --