aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorAlan Cox <[email protected]>2012-07-26 14:47:11 -0700
committerJames Morris <[email protected]>2012-07-30 15:04:17 +1000
commit3b9fc37280c521b086943f9aedda767f5bf3b2d3 (patch)
treec76cc02753da4df5d11e516d8e9373e5f0426b24 /lib/mpi
parentf7da9cdf45cbbad5029d4858dcbc0134e06084ed (diff)
smack: off by one error
Consider the input case of a rule that consists entirely of non space symbols followed by a \0. Say 64 + \0 In this case strlen(data) = 64 kzalloc of subject and object are 64 byte objects sscanfdata, "%s %s %s", subject, ...) will put 65 bytes into subject. Signed-off-by: Alan Cox <[email protected]> Acked-by: Casey Schaufler <[email protected]> Cc: [email protected] Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions