On 16/12/14 10:22, Vittorio Giovara wrote:
From: wm4 <[email protected]>

---
I didn't actually test these fixes, because someone just passed me
a list of failures found with failmalloc, rather than providing
reproducible test cases.
---
  libavutil/dict.c | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)


This is wrong and we should first decide if failing to alloc a new element warrants cleaning up the whole dictionary.

later I'll send 2 patches with the two options.

(and then all the av_dict_set should be checked)...

lu

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to