]> code.ossystems Code Review - openembedded-core.git/commit
cracklib: fix default dictionary should be generated for target endianness
authorHongxu Jia <hongxu.jia@windriver.com>
Sat, 27 Apr 2013 11:05:26 +0000 (19:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2013 14:48:10 +0000 (15:48 +0100)
commit075d5a19bb56b0bf492e7dc7f453c2e23139104b
tree79e85abae7c72c85846bef9f7f937163e9a10fd2
parentb60d04331f84e06fae6c074acab045c3e003929b
cracklib: fix default dictionary should be generated for target endianness

The previous dict files are NOT byte-order independent, in fact they are
probably ARCHITECTURE SPECIFIC.
Create the dict files in big endian, and convert to host endian while
load them. This could fix the endian issue on multiple platform.

[Bug #4419]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch [new file with mode: 0644]
meta/recipes-extended/cracklib/cracklib_2.8.22.bb