mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
4a7c6aaedf
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. |
||
---|---|---|
.. | ||
bstr.c | ||
bstr.h | ||
charset_conv.c | ||
charset_conv.h | ||
ctype.h | ||
dispatch.c | ||
dispatch.h | ||
json.c | ||
json.h | ||
rendezvous.c | ||
rendezvous.h | ||
ring.c | ||
ring.h |