[vlc-devel] [PATCH] Possible buffer overflow in vlc_readdir (fixes #9676)

Iwao AVE! harawata at gmail.com
Tue Jan 21 02:07:00 CET 2014

Hi Rémi,

I still think there should be a workaround on VLC side until it gets
fixed, but I understood.
And switching to readdir() must be the right move in the long run.
Thanks again for your time!

FYI, I have filed the issue on Apple's tracker (no reply yet), but
also found this old post.
So, my gut tells me it won't be fixed soon.


2014/1/21 Rémi Denis-Courmont <remi at remlab.net>:
> On Mon, 20 Jan 2014 23:15:06 +0900, "Iwao AVE!" <harawata at gmail.com>
> wrote:
>> As replacing readdir_r() with readdir() is harder than I thought, how
>> about increasing the buffer size as a workaround for __APPLE__
>> environment?
> If that is really the problem, then you need to get your C run-time fixed.
> This cannot be fixed on VLC side, especially not with the otherwise poor
> design of readdir_r().
> --
> Rémi Denis-Courmont
> Sent from my collocated server

More information about the vlc-devel mailing list