Anonymous | Login | Signup for a new account | 2023-06-08 19:36 CEST |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000031 | [cparser] unknown | crash | always | 2008-12-22 20:13 | 2009-01-28 21:55 | ||||
Reporter | edwin | View Status | public | ||||||
Assigned To | Tron | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 0.9.7 | ||||||
Summary | 0000031: cparser: be/ia32/ia32_transform.c:3267: gen_Conv: Assertion `!_mode_is_int(tgt_mode) || tgt_bits <= 32' failed. | ||||||||
Description |
$ /tmp/cparser-0.9.7/build/cparser t.c -c t.c:19: warning: implicit declaration of function 'read_enc_int' t.c:17: warning: control reaches end of non-void function t.c:30: warning: control reaches end of non-void function 3 warning(s) cparser: be/ia32/ia32_transform.c:3267: gen_Conv: Assertion `!_mode_is_int(tgt_mode) || tgt_bits <= 32' failed. Aborted |
||||||||
Additional Information |
/* testcase */ typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef struct chm_metadata_tag { uint32_t num_chunks; char *chunk_data; char *chunk_current; char *chunk_end; uint16_t chunk_entries; } chm_metadata_t; static int read_control_entries (chm_metadata_t * metadata) { uint64_t name_len, section, offset, length; while (metadata->chunk_entries--) { name_len = read_enc_int (&metadata->chunk_current, metadata->chunk_end); if (((metadata->chunk_current + name_len) > metadata->chunk_end) || ((metadata->chunk_current + name_len) < metadata->chunk_data)) { } } } int cli_chm_open (int fd, const char *dirname, chm_metadata_t * metadata) { while (metadata->num_chunks) { if (read_control_entries (metadata) == (0)) { } } } |
||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
|
![]() |
|||||||||||||
SYSTEM WARNING: Creating default object from empty value SYSTEM WARNING: Creating default object from empty value
|
![]() |
|
(0000042) Tron (administrator) 2008-12-22 20:18 |
Thanks for the report. This problem has already been resolved in r24286 in context of 0000008. |
Mantis 1.1.5[^] Copyright © 2000 - 2008 Mantis Group |