failure in /olver/util/crypt/tests/crypt_spec 1
Bug #1327877 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
Fix Committed
|
Medium
|
Unassigned | ||
Mandriva |
Fix Released
|
Medium
|
Bug Description
with Fedora glibc there is a failure in crypt_spec 1 subtest.
Message from the test:
failure 1
-------
POSTCONDITION_
Requirement failed: Unexpected error code returned: [EINVAL] code 0x16
LSB test suite calls invalid salt such as "". According to documentation if
salt doesn't match supported '$x$...' format (where X is a number, e.g. 1 for
MD5) it fallbacks to DES. But DES expects the salt to be 2 chars long (or
longer, the rest is ignored). Therefore salt "" or "X" is invalid. Upstream
changed the behaviour for invalid salt and crypt() returns NULL pointer in case
of invalid salt.
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
tags: | added: spec |
To post a comment you must log in.