[vlc-devel] [PATCH 1/2] vlc_fixups: fix crash when NULL is passed to strdup() on OS/2
thomas at gllm.fr
Thu Dec 22 09:36:00 CET 2016
On Thu, Dec 22, 2016, at 05:26, KO Myung-Hun wrote:
> Attach the patch.
> KO Myung-Hun wrote:
> > Hi/2.
> > Francois Cartegnie wrote:
> >> Le 20/12/2016 à 13:37, KO Myung-Hun a écrit :
> >>> On OS/2, strdup() crashes if NULL is passed.
> >> No.
> >> Fix the cause, not the expected effect.
> > I looked into this further, and found the cause.
> > FromCharset() in ExtractIntlStrings() of demux/mp4/meta.c returns NULL.
> > At that time, charset is "MACINTOSH//eng" and i_lang is 0.
> > MACINTOSH//eng is a correct charset ? libiconv installed on my machine
> > does not understand it.
Hi, I already fixed this crash yesterday
> KO Myung-Hun
> Using Mozilla SeaMonkey 2.7.2
> Under OS/2 Warp 4 for Korean with FixPak #15
> In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
> Korean OS/2 User Community : http://www.ecomstation.co.kr
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> Email had 1 attachment:
> + 0001-demux-mp4-try-again-with-a-default-charset-if-FromCh.patch
> 1k (application/x-patch)
More information about the vlc-devel