1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00
profanity/src/plugins
Sergei Trofimovich f0a39a4b66 python_api.c: enlarge c_arguments array to avoid OOB write
Code below explicitly refers past `args_len`th element:

        c_arguments[args_len][0] = NULL;
        c_arguments[args_len][1] = NULL;

Let's always allocate space for `NULL`. Noticed by Steffen Jaeckel.
2021-11-26 07:54:01 +00:00
..
api.c Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
api.h Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
autocompleters.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
autocompleters.h Apply coding style 2020-07-07 14:18:57 +02:00
c_api.c Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
c_api.h Apply coding style 2020-07-07 14:18:57 +02:00
c_plugins.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
c_plugins.h Apply coding style 2020-07-07 14:18:57 +02:00
callbacks.c src/plugins/callbacks.c: drop redundant NULL pointer check 2021-11-18 22:27:20 +00:00
callbacks.h Apply coding style 2020-07-07 14:18:57 +02:00
disco.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
disco.h Apply coding style 2020-07-07 14:18:57 +02:00
plugins.c Declare counter var inside loop 2020-11-09 11:33:33 +01:00
plugins.h Apply coding style 2020-07-07 14:18:57 +02:00
profapi.c Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
profapi.h Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
python_api.c python_api.c: enlarge c_arguments array to avoid OOB write 2021-11-26 07:54:01 +00:00
python_api.h Apply coding style 2020-07-07 14:18:57 +02:00
python_plugins.c Apply coding style 2020-07-07 14:18:57 +02:00
python_plugins.h Apply coding style 2020-07-07 14:18:57 +02:00
settings.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
settings.h Apply coding style 2020-07-07 14:18:57 +02:00
themes.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
themes.h Apply coding style 2020-07-07 14:18:57 +02:00