generic-poky/meta/recipes-core/dropbear/dropbear-2013.58
Nitin A Kamble 676fd3f394 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]

(From OE-Core rev: 8f5bc47729edb8cb051d81e9ff1680cb8d2eca25)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:49 +01:00
..
0001-urandom-xauth-changes-to-options.h.patch dropbear: update to 2013.58 2013-04-29 14:45:07 +01:00
0002-static_build_fix.patch dropbear: update to 2013.58 2013-04-29 14:45:07 +01:00
0003-configure.patch dropbear: update to 2013.58 2013-04-29 14:45:07 +01:00
0004-fix-2kb-keys.patch dropbear: update to 2013.58 2013-04-29 14:45:07 +01:00
0005-dropbear-enable-pam.patch dropbear: update to 2013.58 2013-04-29 14:45:07 +01:00
0006-dropbear-configuration-file.patch dropbear: update to 2013.58 2013-04-29 14:45:07 +01:00
0007-dropbear-fix-for-x32-abi.patch dropbear: a fix for hang in dropbearkey, built for x32 2013-05-24 14:14:49 +01:00