Bail out immediately if we can't allocate a buffer for carving up $PATH.
authorGuy Harris <guy@alum.mit.edu>
Sun, 25 Oct 2015 02:01:39 +0000 (19:01 -0700)
committerGuy Harris <guy@alum.mit.edu>
Sun, 25 Oct 2015 02:02:16 +0000 (02:02 +0000)
commitad52d7d83aa882ae8f8d6443bc24ef735c5171d4
treee2c4b91f3849df58d255f82356af1817816cddd7
parent5c97a4802fdec9013eaf8df8628cbd987bf33978
Bail out immediately if we can't allocate a buffer for carving up $PATH.

Quit immediately, don't even bother allocating a buffer for the pathname
of the file we found.

Revert some other cosmetic changes, to reduce the differences between us
and upstream.

Change-Id: I217fecee64c7e6bac9272486d0cc334e192b501e
Reviewed-on: https://code.wireshark.org/review/11253
Reviewed-by: Guy Harris <guy@alum.mit.edu>
tools/lemon/lemon.c