1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
mpv/misc
James Ross-Gowan 476fc65b0f bstr: check strings before memcmp/strncasecmp
bstr.start can be NULL when bstr.len is 0, so don't call memcmp or
strncasecmp if that's the case. Passing NULL to string functions is
invalid C, even when the length is 0, and it causes Windows to raise an
invalid parameter error.

Should fix #1155
2014-10-07 08:45:27 +02:00
..
bstr.c bstr: check strings before memcmp/strncasecmp 2014-10-07 08:45:27 +02:00
bstr.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
charset_conv.c sub: add detection via BOM 2014-07-22 23:40:48 +02:00
charset_conv.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ctype.h Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
dispatch.c Fix gcc 4.7 warning about shadowing talloc_parent in mp_dispact_queue 2014-05-28 22:44:43 +02:00
dispatch.h dispatch: move into its own source file 2014-04-23 21:16:51 +02:00
rendezvous.c Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
rendezvous.h Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
ring.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ring.h