Fumitoshi UKAI <ukai@debian.or.jp>. This should help several segfaults
that people have been seeing in dpkg.
+Wed Apr 18 23:53:40 CDT 2001 Adam Heath <doogie@debian.org>
+
+ * lib/database.c: In blankpackage, intialize ->installed and ->available.
+ Found by me and Fumitoshi UKAI <ukai@debian.or.jp>. This should help
+ several segfaults that people have been seeing in dpkg.
+
Wed Apr 18 23:42:16 CDT 2001 Adam Heath <doogie@debian.org>
* lib/mlib.c: If the buffer size is 0 in buffer_copy, then return, and
processing substvars
* Very package signatures if debsig-verify is installed
* Handle window resize in dselect main menu. Closes: Bug#93559
+ * Initialize all parts of the package record. This should fix several
+ segfaults people have been seeing in dpkg. Closes: #90328.
-- Wichert Akkerman <wakkerma@debian.org> UNRELEASED
pigp->installed.valid= 0;
pigp->available.valid= 0;
pigp->clientdata= 0;
+ blankpackageperfile(&pigp->installed);
+ blankpackageperfile(&pigp->available);
}
void blankpackageperfile(struct pkginfoperfile *pifp) {