Go to file
Eric Paris 8720c8e576 libsepol: allocate enough space to hold filename in trans rules
There is an off by one bug in which the filename length stored with
filename_trans_rules is stored as strlen (aka, no nul) however the
code to allocate space and read the name back in from policy only
allocates len, and not the len + 1 needed to hold the nul.  Allocate
enough space for the nul.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2012-04-23 16:57:52 -04:00
checkpolicy bump version and changelog for upstream push 2012-03-28 15:44:05 -04:00
libselinux bump version and changelog for upstream push 2012-03-28 15:44:05 -04:00
libsemanage bump version and changelog for upstream push 2012-03-28 15:44:05 -04:00
libsepol libsepol: allocate enough space to hold filename in trans rules 2012-04-23 16:57:52 -04:00
policycoreutils bump version and changelog for upstream push 2012-03-28 15:44:05 -04:00
scripts release script 2009-03-12 01:23:32 -04:00
sepolgen bump version and changelog for upstream push 2012-03-28 15:44:05 -04:00
.gitignore .gitignore: More files to ignore 2011-09-16 11:54:04 -04:00
Makefile global: Makefile: create global 'all' target 2011-08-26 14:27:57 -04:00