mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-13 23:38:07 +03:00
732a05dde0
* Revert "Extend "read_argv" native" This reverts commit aaa2934595379c371513cb9dd23de8f3c5e16d93. This broke binary compatibility with either older, already compiled plugins, or newly compiled plugins if you forgot to update .inc headers. This happened because read_argv used to receive maxlen by value, and after this commit it receives it by reference. This causes read_argv either to fail, or worse, to buffer overflow, resulting in a security vulnerability. Newly introduced functionality for read_argv should be added with a new, separate native. * Add "read_argv_int" & "read_argv_float" natives