summaryrefslogtreecommitdiffstats
path: root/security/smack/smack_access.c
diff options
context:
space:
mode:
authorChen Liu <chenliu@asset.uwaterloo.ca>2011-03-23 10:14:58 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-03-23 10:15:14 +0100
commit69ac43b05eef4b8555e84ad51ceb6c58b5a3bc75 (patch)
tree6726f92050140df58b1ddf5958304bc2852612fa /security/smack/smack_access.c
parent6447f55da90b77faec1697d499ed7986bb4f6de6 (diff)
downloadtalos-op-linux-69ac43b05eef4b8555e84ad51ceb6c58b5a3bc75.tar.gz
talos-op-linux-69ac43b05eef4b8555e84ad51ceb6c58b5a3bc75.zip
[S390] early: Fix possible overlapping data buffer
This patch fixed bugzilla #12965: https://bugzilla.kernel.org/show_bug.cgi?id=12965 The original code contains some inproper use of sprintf function where a buffer is used both as input string as well as output string. It should remember the written bytes in the previous and use that as the offset for later writing. Also replace sprintf with snprintf. Signed-off-by: Chen Liu <chenliu@asset.uwaterloo.ca> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'security/smack/smack_access.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud