[MPlayer-dev-eng] [PATCH] Fix crashes when pthread_create fails

Zhouyang Jia jiazhouyang09 at gmail.com
Fri Mar 2 16:34:38 EET 2018


Hi,

I'm a PhD student. I analyzed the mplayer source code and found
pthread_create missing error handling in several places, which may
cause bad results like crash.

I think it's unsafe to assume the library function would be correct.
It would be better if we could handle the error properly.

Attached please find the patch against the trunk version. Hopefully, it can
solve these potential bugs. Best, Zhouyang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread_create_mplayer-trunk.patch
Type: application/octet-stream
Size: 1681 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20180302/b6b95421/attachment.obj>


More information about the MPlayer-dev-eng mailing list