Bug 3139 - Hangs when running with invalid parameters
Summary: Hangs when running with invalid parameters
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: pwgen (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 10:52 MSD by Sir Raorn
Modified: 2008-06-13 12:15 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2003-10-10 10:52:22 MSD
When running with pw_length == 0 (pwgen 0) it hangs eating out CPU. strace shows
endless loop:
...
gettimeofday({1065768527, 471645}, NULL) = 0
read(3, "\307\206\233.", 4)             = 4
gettimeofday({1065768527, 471720}, NULL) = 0
read(3, "\325c\32\0", 4)                = 4
...
Comment 1 inger@altlinux.org 2003-10-16 11:22:30 MSD
pwgen никогда не был моим пакетом 
 
Comment 2 Dmitry V. Levin 2003-10-16 12:35:41 MSD
Fixed in pwgen-2.03-alt1.