Bug 3139

Summary: Hangs when running with invalid parameters
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: pwgenAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P2 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

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.