On Wed, Apr 28, 2010 at 10:11:43PM +0200, Gerrit Pape wrote: > parse_command_args() returning a **argv pointer with *argv == 0 makes > dash segfault in find_command(). To reproduce run > > dash -c 'command --' > > With this commit, parse_command_args() returns 0 if *argv is null after > parsing --, and so fixes the subsequent segfault. > > Reported by Jonny through http://bugs.debian.org/579543 > > Signed-off-by: Gerrit Pape <pape@xxxxxxxxxxx> Patch applied. Thanks Gerrit! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html