Check cmd.length in various appropriate places.
Merge branch 'master' of ../cvs/exec