diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-06-16 22:17:41 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-18 11:19:37 +0100 |
commit | 1c4b8d797c76a08ebd1658066e9d32972b6abe58 (patch) | |
tree | e0c90cca9f8c5a7a35d071d82c047355cbc005ac /meta/recipes-kernel | |
parent | 27744ad292c9d7e57ebcf7c3c30acbd85aac77a4 (diff) | |
download | openembedded-core-contrib-1c4b8d797c76a08ebd1658066e9d32972b6abe58.tar.gz |
openssh: fix potential signed overflow in pointer arithmatic
Pointer arithmatic results in implementation defined signed integer
type, so that 'd - dst’ in strlcat may trigger signed overflow if
pointer ‘d’ is near 0x7fffffff in 32 bits system. In case of ompilation
by gcc or clang with -ftrapv option, the overflow would generate
program abort.
Signed-off-by: hguo3 <heng.guo@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions