Changes between Initial Version and Version 1 of Ticket #3547, comment 37
- Timestamp:
- 12/31/15 15:28:29 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3547, comment 37
initial v1 6 6 if (sizeof (*buf) > (size_t) (fish->total - fish->got)) 7 7 }}} 8 This is wrong. sizeof(*buf) return you the size of pointer (4 or 8 bytes) not the size of allocated memory chunk.8 This is wrong. sizeof(*buf) will return you the size of pointer (4 or 8 bytes) not the size of allocated memory chunk.