Skip to content
Commit e5912bb3 authored by John Johansen's avatar John Johansen Committed by Andy Whitcroft
Browse files

UBUNTU: SAUCE: AppArmor: Fix off by 2 error in getprocattr mem allocation



BugLink: http://bugs.launchpad.net/bugs/446595

In AppArmor's get procattr interface when a namespace is defined the
allocation is not large enough for <ns_name> + "://" + <profile_name>, so
AppArmor overwrites 2 bytes of memory it has not allocated.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 91553115
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment