Issue of the Standard # S0226


Lack of details in requirements to the crypt() function.

Detailed Description

The description of the crypt() function states that the first two characters of the string of ‘salt’ may be used to perturb the encoding algorithm. However there is no information whether the length of the string could be less than 2 and there is no description of the function’s behavior in this case.

Problem location(s) in the standard

The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition (SUS 3.0), System Interfaces, description of function <nobr>crypt()</nobr> .


POSIX aardvark,
Request Number 178