- Timestamp:
- Apr 24, 2007, 10:57:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_prelink.c
r34 r101 75 75 long status; 76 76 char magic[4]; 77 78 /* 42 bytes is about the minimum an ELF binary might have 79 * (with plenty of hacks to reduce the size, such as interleaving 80 * the code with the header...) 81 */ 77 82 if (size < 42) 78 83 return S_FALSE; 84 79 85 status = sl_read_timeout (fd, magic, 4, alert_timeout); 80 86 (void) sl_rewind(fd);
Note:
See TracChangeset
for help on using the changeset viewer.