Re: [FFmpeg-devel] [PATCH] avutil/dict: Error out in case of key == NULL

2022-09-19 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Up until now, using NULL as key in av_dict_get() on a non-empty > AVDictionary would crash; using NULL as key in av_dict_set() > would also crash for a non-empty AVDictionary unless AV_DICT_MULTIKEY > was set; in case the dictionary was initially empty or AV_DICT_MULTIKEY > wa

[FFmpeg-devel] [PATCH] avutil/dict: Error out in case of key == NULL

2022-09-14 Thread Andreas Rheinhardt
Up until now, using NULL as key in av_dict_get() on a non-empty AVDictionary would crash; using NULL as key in av_dict_set() would also crash for a non-empty AVDictionary unless AV_DICT_MULTIKEY was set; in case the dictionary was initially empty or AV_DICT_MULTIKEY was set, it was even possible fo