Commit 7386702
committed
Fix overflow in MemoryAllocator.Create(options) (#2730)
Fix an overlook from #2706. See 92b8277#r141770676.
# Conflicts:
# src/ImageSharp/Memory/Allocators/MemoryAllocator.cs1 parent f21d641 commit 7386702
File tree
2 files changed
+17
-1
lines changed- src/ImageSharp/Memory/Allocators
- tests/ImageSharp.Tests/Memory/Allocators
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
439 | 455 | | |
440 | 456 | | |
0 commit comments