commit | 18649484eee7e4ca7b0be572365aca368a3471b5 | [log] [tgz] |
---|---|---|
author | Xin Ouyang <xinpascal@gmail.com> | Thu Jan 12 16:58:34 2012 +0800 |
committer | Eric Paris <eparis@redhat.com> | Wed Sep 12 21:15:53 2012 -0400 |
tree | c2a68aa94952271ff76ac9ba37b9b884b614a913 | |
parent | 2ef297d4c80b7e55d9a33e20b44c540ffc6ad351 [diff] |
libsemanage: Fix segfault for building standard policies. If you are building "standard" policies(not MCS/MLS), libsemanage will crash, which caused by strdup() to "level" NULL pointers. For example, semodule -s refpolicy -b base.pp -i a.pp Signed-off-by: Eric Paris <eparis@redhat.com>