Changes between Initial Version and Version 1 of Ticket #2416


Ignore:
Timestamp:
11/23/22 19:36:56 (2 months ago)
Author:
Orgad Shaneh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2416 – Description

    initial v1  
    4040 
    4141-        if ((size_t) (p->d.end - m) >= size) {
    42 +        if ((intptr_t) (p->d.end - m) >= (intptr_t)size) {
     42+        if (m + size <= p->d.end) {
    4343             p->d.last = m + size;
    4444