Firm Bugtracker - cparser
|
|||||||||||||||||
Viewing Issue Advanced Details | |||||||||||||||||
|
|||||||||||||||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | ||||||||||||
31 | unknown | crash | always | 2008-12-22 20:13 | 2009-01-28 21:55 | ||||||||||||
|
|||||||||||||||||
Reporter: | edwin | Platform: | |||||||||||||||
Assigned To: | Tron | OS: | |||||||||||||||
Priority: | normal | OS Version: | |||||||||||||||
Status: | closed | Product Version: | 0.9.7 | ||||||||||||||
Product Build: | Resolution: | fixed | |||||||||||||||
Projection: | none | ||||||||||||||||
ETA: | none | Fixed in Version: | |||||||||||||||
|
|||||||||||||||||
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 |
||||||||||||||||
Steps To Reproduce: | |||||||||||||||||
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)) { } } } |
||||||||||||||||
Relationships |
| ||||||||||||||||
Attached Files: | |||||||||||||||||
|
|||||||||||||||||
Issue History | |||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||
2008-12-22 20:13 | edwin | New Issue | |||||||||||||||
2008-12-22 20:16 | Tron | Relationship added | related to 0000008 | ||||||||||||||
2008-12-22 20:16 | Tron | Relationship added | related to 0000027 | ||||||||||||||
2008-12-22 20:18 | Tron | Note Added: 0000042 | |||||||||||||||
2008-12-22 20:18 | Tron | Status | new => resolved | ||||||||||||||
2008-12-22 20:18 | Tron | Resolution | open => fixed | ||||||||||||||
2008-12-22 20:18 | Tron | Assigned To | => Tron | ||||||||||||||
2009-01-28 21:55 | Matze | Status | resolved => closed |
Notes | |||||
|
|||||
|
|