On Sat, 2008-04-05 at 13:47 +1100, Russell Coker wrote: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474339 > > When the file_contexts file has an invalid context then dpkg will crash, see > the above bug report. > > dpkg is statically linked against libselinux. Can you reproduce with a simpler caller, e.g. compile matchpathcon from libselinux/utils statically and run it on your corrupted file_contexts file, passing in a pathname that will match the invalid line? I wasn't able to reproduce the bug myself. libselinux does rely on its constructors having run before any functions are called. dpkg isn't built in such a way as to suppress constructor execution, is it? What options are passed to gcc when compiling dpkg? -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.