commit | f23e078018b5313dd6a320b401173cc834b9450d | [log] [tgz] |
---|---|---|
author | Dan Walsh <dwalsh@redhat.com> | Tue Aug 09 09:53:49 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Sep 15 19:20:43 2011 -0400 |
tree | 0b5ff7550495e5bc90fcadf6be23339ed34cd457 | |
parent | a2db3f2df850362a6f6f6ddf779bb20f0bba9cbe [diff] |
policycoreutils: setfiles: Fix potential crash using dereferenced ftsent If fts_read() fails for any reason ftsent will be NULL. Previously we would have reported the error and then continued processing. Now we report the error and stop using the NULL pointer. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>