-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I recently encountered assertion error in the following line in lmm_add_free():
Line 33 in c9e5fcd
| assert(max >= min); |
This error happens when the caller calls lmm_add_free(lmm, (void *)0x2345, 2). Suppose alignment is 8. Then:
- On line 23
min = 0x2345 - On line 24
max = 0x2347 - On line 31
min = 0x2348 - On line 32
max = 0x2340 - On line 33 assertion error is triggered, since
max >= minis false (0x2340 >= 0x2348is false)
Metadata
Metadata
Assignees
Labels
No labels