mpv/misc
wm4 a44ffb729b bstr: fix possible undefined behavior with length 0 strings
BSTR_P() passes the string length and start pointer to printf-like
functions. If the lenfth is 0, the pointer can be NULL, but we're
actually still not allowed to pass a NULL pointer in any case.

This is mostly a technically, because nobody in their right mind would
attempt to specifically break such cases. But it's still undefined
behavior, and some libcs might be strict about this.
2015-01-25 17:00:08 +09:00
..
bstr.c Silence some Coverity warnings 2014-11-21 09:59:58 +01:00
bstr.h bstr: fix possible undefined behavior with length 0 strings 2015-01-25 17:00:08 +09: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
dispatch.h
json.c json: handle >\\"< fragments correctly 2014-10-21 02:59:30 +02:00
json.h lua: expose JSON parser 2014-10-19 05:51:37 +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