Bug#474339: dpkg bug related to SE Linux

2008-04-12 Thread Guillem Jover
tag 474339 pending thanks On Wed, 2008-04-09 at 17:11:47 +1100, Russell Coker wrote: > scontext is allocated by matchpathcon(3) and needs to be freed by the caller. > > If it's not set to NULL before the attempted allocation then it'll keep the > previous value (which had been freed) and then

Bug#474339: dpkg bug related to SE Linux

2008-04-08 Thread Russell Coker
The following patch fixes the problem. scontext is allocated by matchpathcon(3) and needs to be freed by the caller. If it's not set to NULL before the attempted allocation then it'll keep the previous value (which had been freed) and then you get a double-free. --- dpkg-1.14.16.6.orig/src/arc

Bug#474339: dpkg bug related to SE Linux

2008-04-08 Thread Stephen Smalley
On Tue, 2008-04-08 at 10:30 +1100, Russell Coker wrote: > On Tuesday 08 April 2008 02:55, Stephen Smalley <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-04-07 at 12:48 -0400, Stephen Smalley wrote: > > > On Sat, 2008-04-05 at 13:47 +1100, Russell Coker wrote: > > > > http://bugs.debian.org/cgi-bin/bu

Bug#474339: dpkg bug related to SE Linux

2008-04-07 Thread Russell Coker
On Tuesday 08 April 2008 02:55, Stephen Smalley <[EMAIL PROTECTED]> wrote: > On Mon, 2008-04-07 at 12:48 -0400, Stephen Smalley wrote: > > 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 ha