summaryrefslogtreecommitdiff
path: root/arch/s390/net/bpf_jit_comp.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-01-11 11:07:39 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-01-16 07:27:55 +0100
commitf0319748599183fa71a1e8792317385313ed946b (patch)
tree5617c5161fce65aeeb19f85ea153e3213ef914f1 /arch/s390/net/bpf_jit_comp.c
parent742dc5773cf5bbb355e4b4dd61310d5f51556477 (diff)
downloadlinux-f0319748599183fa71a1e8792317385313ed946b.tar.gz
linux-f0319748599183fa71a1e8792317385313ed946b.tar.xz
s390/sclp: always stay within bounds of the early sccb
Make sure the _sclp_print_lm function stays within bounds of the early sccb, even if the passed string is very long. If the string is too long, the remaining characters will be dropped. Suggested-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions