[vlc-devel] [vlc-commits] strings: use vlc_memstream in vlc_xml_encode()

Filip Roséen filip at atch.se
Sat Feb 25 15:46:02 CET 2017


On 2017-02-25 16:16, Rémi Denis-Courmont wrote:

> Le lauantaina 25. helmikuuta 2017, 15.05.21 EET Filip Roséen a écrit :

> > Just as practically impossible as memory-allocation failures.
> Are you trolling or what? Ignoring memory allocation failures leads to 
> undefined behaviour; it is clearly not inconsequential.

No, I am not trolling. It was a serious reply in terms of likelyhood
of an error from within `open_memstream`.

I was of course not referring to the consequences of such error,
*well-* vs *un-defined*, it was merely a way of saying that the
*"practically impossible"* is (in my opinion) a very poor use of

In other words; the sentence is a further attempt to show where I
stand on the matter (which, hopefully without a doubt, should be more
than clear by now).

> (And some of them are easy to trigger with fuzzers.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170225/f485fef6/attachment.html>

More information about the vlc-devel mailing list