[PATCH] Fix segfault when there's no config dir

Paulo Zanoni przanoni at gmail.com
Wed Nov 30 08:16:33 PST 2011


2011/11/28 Keith Packard <keithp at keithp.com>:
> 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.

So, is this version ok? Do I need to do something else?  I received
reports on IRC and we also have bug #43286 about it.

Thank you,
Paulo

-- 
Paulo Zanoni


More information about the xorg-devel mailing list