diff options
| author | John Johansen <[email protected]> | 2010-10-09 07:47:53 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2010-10-20 23:12:46 +0000 |
| commit | 3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa (patch) | |
| tree | 8b01e83cfa6b18fe8b83b342733931d5f98bc1b2 /security/selinux/hooks.c | |
| parent | TOMOYO: Print URL information before panic(). (diff) | |
| download | kernel-3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa.tar.gz kernel-3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa.zip | |
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 <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
