Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 223223

Summary: www-client/mozilla-launcher-1.59: missing argument causes infinite loop
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED WONTFIX    
Severity: trivial    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin von Gagern 2008-05-22 15:55:11 UTC
A command like "thunderbird -d" causes mozilla-launcher to loop endlessly. The reason is that "-d" expects the debugger as a second argument, and tries to consume both with a "shift 2". Absence of that argument is not detected, though, and according to the bash info page, shift N for N > $# doesn't change the list of positional arguments. So all arguments that expect a value should check there is indeed a second argument, and if not report an error and die.
Comment 1 Jory A. Pratt gentoo-dev 2010-09-16 13:03:08 UTC
mozilla-launcher has been completely retired.