diff options
author | Yuanjie Huang <yuanjie.huang@windriver.com> | 2016-08-26 09:57:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-20 15:11:08 +0100 |
commit | b2a6f9a97d3749a9a8a9aef59e8a28a95d1181a4 (patch) | |
tree | f3bc9cdce24176f55d1482cdb4685b0e0a942353 /meta/recipes-connectivity/neard | |
parent | 69005ae65c95976d41ebb377a80433cb32d53b37 (diff) | |
download | poky-b2a6f9a97d3749a9a8a9aef59e8a28a95d1181a4.tar.gz |
openssh: fix potential signed overflow to enable compilation with -ftrapv
Pointer arithmatic results in implementation defined signed integer
type, so that 's - src' in strlcpy and others may trigger signed overflow.
In case of compilation by gcc or clang with -ftrapv option, the overflow
would lead to program abort.
Upstream-status: Submitted [https://bugzilla.mindrot.org/show_bug.cgi?id=2608]
(From OE-Core rev: 2ce02941300aa3e826df0c59fd8d4ce19950028e)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/neard')
0 files changed, 0 insertions, 0 deletions