-
Notifications
You must be signed in to change notification settings - Fork 435
Commit 69bcdf5
Fix possible uninitalized pointer access on unexpected array message data
When receiving multi-dimensional array data from the server, make sure
the dimensions are valid.
Fixes CVE-2020-17446.
Reported-by: Robert Scott <bugs@humanleg.org.uk>1 parent 39040b3 commit 69bcdf5
1 file changed
+16
-7
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
286 | 286 |
| |
287 | 287 |
| |
288 | 288 |
| |
289 | - | ||
290 | - | ||
289 | + | ||
291 | 290 |
| |
292 | 291 |
| |
293 | 292 |
| |
294 | 293 |
| |
295 | 294 |
| |
295 | + | ||
296 | + | ||
297 | + | ||
296 | 298 |
| |
297 | 299 |
| |
298 | 300 |
| |
301 | + | ||
302 | + | ||
303 | + | ||
299 | 304 |
| |
300 | 305 |
| |
301 | 306 |
| |
| |||
340 | 345 |
| |
341 | 346 |
| |
342 | 347 |
| |
343 | - | ||
344 | - | ||
345 | - | ||
346 | - | ||
347 | - | ||
348 | 348 |
| |
349 | 349 |
| |
350 | 350 |
| |
351 | + | ||
352 | + | ||
353 | + | ||
354 | + | ||
355 | + | ||
356 | + | ||
357 | + | ||
358 | + | ||
359 | + | ||
351 | 360 |
| |
352 | 361 |
| |
353 | 362 |
| |
|
0 commit comments