[MPlayer-dev-eng] [PATCH] Check if path is too long

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jun 4 22:42:46 CEST 2013


On Tue, Jun 04, 2013 at 12:57:03PM +0900, KO Myung-Hun wrote:
> Hi/2.
> 
> This patch fixes the problem that MPlayer crashes if a path is too long.

Why? I don't see anything in the code that you change that should
cause crashes if the path is very long?
Unless the open function itself crashes, but I'm not exactly convinced
we should work around an OS issue like that, and if we do we should only
do it for that specific OS (and probably closer to the issue, e.g. doing
a strlen just before open()).


More information about the MPlayer-dev-eng mailing list