about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-11-26 07:51:49 +0000
committerSergei Trofimovich <slyich@gmail.com>2021-11-26 07:54:01 +0000
commitf0a39a4b660cc27d40288216cb9e5a8611109c56 (patch)
tree4eccdd0ee7229147c594430102f424838b8c80cb /src/otr
parenta77a57a6a45ed07c60b31f7cbe977f8e68fadbc8 (diff)
downloadprofani-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/otr')
0 files changed, 0 insertions, 0 deletions
:04:45 +0000 committer James Booth <boothj5@gmail.com> 2012-03-06 01:04:45 +0000 Reduced screen flicker, and fixed end page' href='/danisanti/profani-tty/commit/title_bar.c?id=54c43b613c74873e05f40deff102f8b03c6a9c6f'>54c43b61 ^
355f2a68 ^




02f5df5b ^
54c43b61 ^
c8bf654e ^
4148f053 ^
03b90cf5 ^



7db2da6d ^









54c43b61 ^

03b90cf5 ^






7db2da6d ^








54c43b61 ^

03b90cf5 ^

632528a9 ^

54c43b61 ^




632528a9 ^

02f5df5b ^
4148f053 ^
7db2da6d ^



2137ffa2 ^
54c43b61 ^

4148f053 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103