lsb

failure in /olver/util/crypt/tests/crypt_spec 1

Bug #1327877 reported by Jeff Johnson
6
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_FAILED
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.

Tags: spec errata
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → Fix Released
Jeff Johnson (n3npq)
tags: added: spec
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.