From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 Description of problem: If the internal mknod in nash is used without the required four arguments it crash on a NULL pointer dereference. Version-Release number of selected component (if applicable): mkinitrd-3.5.22-1 How reproducible: Always Steps to Reproduce: 1. nash 2. mknod Actual Results: Segmentation fault (core dumped) Expected Results: mknod: usage mknod <path> [c|b] <major> <minor> Additional info:
Created attachment 109464 [details] Fix getArg This patch improves getArg to handle cmd==NULL in the way mknodCommand expects.
Thanks for the patch.