mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
m_options: limit list entries to 100
Limit list entries to 100. obj_settings_list is not designed to hold more items, and it quickly starts taking ages to add all items. 100 is more than enough. Fixes 30s timeout on OSS-Fuzz and generally fixes possible DoS on mpv.
This commit is contained in:
@@ -671,6 +671,8 @@ Options of this type can be changed at runtime using the ``change-list``
|
||||
command, which takes the suffix (without the ``-``) as separate operation
|
||||
parameter.
|
||||
|
||||
An object settings list can hold up to 100 elements.
|
||||
|
||||
CONFIGURATION FILES
|
||||
===================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user