Changes between Initial Version and Version 1 of Ticket #3547, comment 37


Ignore:
Timestamp:
12/31/15 15:28:29 (7 years ago)
Author:
andrew_b
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3547, comment 37

    initial v1  
    66if (sizeof (*buf) > (size_t) (fish->total - fish->got)) 
    77}}} 
    8 This is wrong. sizeof(*buf) return you the size of pointer (4 or 8 bytes) not the size of allocated memory chunk. 
     8This is wrong. sizeof(*buf) will return you the size of pointer (4 or 8 bytes) not the size of allocated memory chunk.