diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2013-05-23 16:09:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-24 14:14:30 +0100 |
commit | 8f5bc47729edb8cb051d81e9ff1680cb8d2eca25 (patch) | |
tree | d7010472169d49a336dc007816427d06c194c545 /meta/recipes-devtools/libtool | |
parent | ea6a8c9b0dee89b0b25d341ac57666cf090d6ed3 (diff) | |
download | openembedded-core-8f5bc47729edb8cb051d81e9ff1680cb8d2eca25.tar.gz openembedded-core-8f5bc47729edb8cb051d81e9ff1680cb8d2eca25.tar.bz2 openembedded-core-8f5bc47729edb8cb051d81e9ff1680cb8d2eca25.zip |
dropbear: a fix for hang in dropbearkey, built for x32
This commit fixes runtime hang of 'dropbearkey' utility, built for a x32
target abi system. The hang was observed while generating ssh keys, with
this command:
dropbearkey -t dss -f private
The issue is fixed by changing the code, where 'long' in x86_64 mode is
assumed as 64bit quantity. With the x32 abi, the processor is in x86_64
mode, but the 'long' is a 32bit quantity. Hence the fix uses 'long long'
instead of 'long' to define/access 64bit data variables.
Fixes bug:
[YOCTO #4496]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/libtool')
0 files changed, 0 insertions, 0 deletions