[vlc-devel] [PATCH] modules: use 16-bit ints for option counts

Rémi Denis-Courmont remi at remlab.net
Wed Sep 30 19:54:23 CEST 2020


Le keskiviikkona 30. syyskuuta 2020, 20.05.51 EEST Lyndon Brown a écrit :
> As for the enhancement of adding a limit to the number of items a
> plugin can generate before we start rejecting them and giving an error,
> I just remain a little uncertain about your position.

It's useless complexity. Broken modules can crash the process in so many ways 
that there's no point adding defensive programming that will potentially hide 
bugs and make debugging harder.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list