Changeset 90 for trunk/src/reglookup.c
- Timestamp:
- 03/28/07 15:22:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup.c
r88 r90 546 546 tmp_buf[3] = (uint8)(vk->data_off & 0xFF); 547 547 if(size > 4) 548 /* XXX: should we kick out a warning here? If it is in the549 * offset and longer than four, file could be corrupt550 * or malicious... */ 548 { 549 fprintf(stderr, "WARNING: value stored in offset larger than 4. " 550 "Truncating...\n"); 551 551 size = 4; 552 } 552 553 quoted_value = data_to_ascii(tmp_buf, 4, vk->type, &conv_error); 553 554 }
Note: See TracChangeset
for help on using the changeset viewer.