diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-11-26 07:51:49 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2021-11-26 07:54:01 +0000 |
commit | f0a39a4b660cc27d40288216cb9e5a8611109c56 (patch) | |
tree | 4eccdd0ee7229147c594430102f424838b8c80cb /src/common.c | |
parent | a77a57a6a45ed07c60b31f7cbe977f8e68fadbc8 (diff) | |
download | profani-tty-f0a39a4b660cc27d40288216cb9e5a8611109c56.tar.gz |
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.
Diffstat (limited to 'src/common.c')
0 files changed, 0 insertions, 0 deletions