-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit a3539f1
Fix potential buffer overflow in eventmux callback
This changes the parameter list of the eventmux callback, affecting the
header and the implementation of the dependency linenoise, but it is
necessary to prevent potential buffer overflow and to make the program
compile with '-O3'.
Change-Id: Ic50650107e939677a286f129251c50ce2dcbf6351 parent db14e14 commit a3539f1
5 files changed
+6
-5
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
951 | - | ||
951 | + | ||
952 | 952 |
| |
953 | 953 |
| |
954 | 954 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | - | ||
57 | + | ||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 | + | ||
80 | 81 |
| |
81 | 82 |
| |
82 | 83 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 | - | ||
237 | + | ||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
| |||
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
262 | - | ||
262 | + | ||
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | - | ||
12 | + | ||
13 | 13 |
| |
14 | 14 |
|
0 commit comments