Searched hist:"3 ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/apparmor/ |
H A D | apparmorfs.c | diff 3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa Sat Oct 09 02:47:53 CDT 2010 John Johansen <john.johansen@canonical.com> AppArmor: Ensure the size of the copy is < the buffer allocated to hold it
Actually I think in this case the appropriate thing to do is to BUG as there is currently a case (remove) where the alloc_size needs to be larger than the copy_size, and if copy_size is ever greater than alloc_size there is a mistake in the caller code.
Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Kees Cook <kees.cook@canonical.com> Signed-off-by: James Morris <jmorris@namei.org>
|