git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c753bf3
)
strscpy: zero any trailing garbage bytes in the destination
author
Chris Metcalf
<cmetcalf@ezchip.com>
Tue, 6 Oct 2015 16:37:41 +0000
(12:37 -0400)
committer
Chris Metcalf
<cmetcalf@ezchip.com>
Tue, 6 Oct 2015 18:53:18 +0000
(14:53 -0400)
It's possible that the destination can be shadowed in userspace
(as, for example, the perf buffers are now). So we should take
care not to leak data that could be inspected by userspace.
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
lib/string.c
patch
|
blob
|
history
diff --cc
lib/string.c
Simple merge