[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#714219: Acknowledgement (libc6: crypt(3) returns NULL with EINVAL instead of falling back to DES, breaking GNU software)



On Wed, Jun 26, 2013 at 10:48:55PM +0000, Thorsten Glaser wrote:
> Debian Bug Tracking System dixit:
> 
> >If you wish to submit further information on this problem, please
> >send it to 714219@bugs.debian.org.
> 
> Oh well, a '%' is not in the list of DES inputs, so differing
> is permitted, but returning NULL is so very not nice.
> 
> Shortening the string shows “DES” can be done on it, so do it;
> just return "*" (or "x" if the input is "*" so it never matches)
> if you absolutely can’t return anything else useful.
> 
> (We continued this discussion in IRC…)

As the function is POSIX compliant, it looks like to me a documentation
issue. Should this bug be reassigned to manpages-dev to mention the fact
that the function might return NULL in case of error?

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: