[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#228379: *cough* here's the patch



Yet again, I wish mailers could tell that you promised to attach a patch
and forgot :-)

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
Index: main/remove.c
===================================================================
--- main/remove.c	(revision 1751)
+++ main/remove.c	(revision 1752)
@@ -339,6 +339,7 @@
     varbufreset(&fnvb);
     varbufaddstr(&fnvb,instdir);
     varbufaddstr(&fnvb,namenodetouse(namenode,pkg)->name);
+    varbufaddc(&fnvb,0);
 
     if (!stat(fnvb.buf,&stab) && S_ISDIR(stab.st_mode)) {
       debug(dbg_eachfiledetail, "removal_bulk is a directory");
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 1751)
+++ ChangeLog	(revision 1752)
@@ -1,3 +1,7 @@
+Mon Feb 23 01:30:13 CET 2004 Steinar H. Gunderson <sesse@debian.org>
+
+  * main/remove.c: Terminate string buffer correctly.
+
 Tue Jan 27 20:08:12 CST 2003 Adam Heath <doogie@debian.org>
 
   * debian/control: Update dpkg conflicts to << 1.10, instead of 1.9.

Reply to: