- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitffaaaf9
committed
Fix potential access-off-the-end-of-memory in varbit_out(): it fetched the
byte after the last full byte of the bit array, regardless of whether thatbyte was part of the valid data or not. Found by buildfarm testing.Thanks to Stefan Kaltenbrunner for nailing down the cause.1 parent99fa5f4 commitffaaaf9
1 file changed
+11
-6
lines changedLines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
390 | 390 |
| |
391 | 391 |
| |
392 | 392 |
| |
393 |
| - | |
| 393 | + | |
394 | 394 |
| |
| 395 | + | |
395 | 396 |
| |
396 | 397 |
| |
397 | 398 |
| |
398 | 399 |
| |
399 | 400 |
| |
400 | 401 |
| |
401 | 402 |
| |
402 |
| - | |
403 |
| - | |
| 403 | + | |
404 | 404 |
| |
405 |
| - | |
406 |
| - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
407 | 412 |
| |
408 | 413 |
| |
409 | 414 |
| |
|
0 commit comments
Comments
(0)