[PATCH] Fix potentially uninitialized variable p

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Jan 8 05:43:00 GMT 2014


On Sun, Dec 22, 2013 at 12:40:20AM +0000, Ray Donnelly wrote:
>-      PWCHAR p;
>+      PWCHAR p = NULL;

AFAICT, that would result in a NULL dereference.  I've checked in
a different change to handle this.

cgf



More information about the Cygwin-patches mailing list