commit | 933840af6c41ea0203485227c4ac2258f15d40f5 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Dec 04 15:23:57 2012 -0500 |
committer | Eric Paris <eparis@redhat.com> | Fri Feb 01 12:08:56 2013 -0500 |
tree | 14afb6742b26b6b956461a01155d7cecc3cd6786 | |
parent | 960d6ee879f34df84e90394c32a606d6d1be48ae [diff] |
libselinux: audit2why: make sure path is nul terminated We use strncpy which could leave a non-nul terminated string if the source is longer than PATH_MAX. Add that nul. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>