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

Rémi Denis-Courmont remi at remlab.net
Tue Jan 21 01:45:30 CET 2014


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