[PATCH] Fix segfault when there's no config dir
Keith Packard
keithp at keithp.com
Mon Nov 28 09:30:59 PST 2011
On Mon, 28 Nov 2011 09:09:42 -0800, Jeremy Huddleston <jeremyhu at apple.com> wrote:
> That seems like a second patch, independent of this one...
No, if the scandir return value was error-checked, then num would always
be >= 0 and the existing code would work fine.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111128/2514927b/attachment.pgp>
More information about the xorg-devel
mailing list