Commit 2ea02e2
committed
Stackoverflow fix in ImageDescriptor
Fixes getImageData(100) calling itself endlessly (introduced via
c2fe144
) by reintroducing the bigger getImageData(100) and getImageData()
endlessly (introduced in 2017 via
e6d12ca
) that wasn't experienced thanks to the *happy accident* that it was
asbtract method and all implementations before that had their own and
every implementor since then most likely figured the endless loop while
developing.
Enhanced documentation to mention that.1 parent 4f687d6 commit 2ea02e2
1 file changed
Lines changed: 11 additions & 9 deletions
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
435 | | - | |
| 433 | + | |
| 434 | + | |
436 | 435 | | |
437 | | - | |
438 | | - | |
439 | | - | |
| 436 | + | |
| 437 | + | |
440 | 438 | | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
445 | | - | |
446 | | - | |
| 443 | + | |
| 444 | + | |
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
450 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
451 | 453 | | |
452 | 454 | | |
453 | 455 | | |
| |||
0 commit comments