Bug #17318 2010-07-01 09:15
littlespark
Hex Editor
hello,
errors happens when i try to use hex editor to open a file. The file only has one character '1'. File length is 1, file encoding is ANSI.
Code Blocks Version: 10.05
Anyway, CodeBlocks is a greate ide. Thanks.
- Category
- Plugin::Any
- Group
- Status
- Closed
- Close date
- 2010-07-23 16:22
- Assigned to
- biplab
History
killerbot 2010-07-03 07:28
and how big was the file for real ?
What is actually going wrong ?
ID_54638 2010-07-08 16:43
Reproducible. I have fixed the crash in this patch:
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3017&group_id=5358
More detailed steps to reproduce:
1. Create a file with size of 1 byte (e.g. just with the character "1" in it).
2. Open it with the Code::Blocks hex editor plugin.
3. A division by zero exception occurs.
More details in the patch.
biplab 2010-07-23 16:22
This bug is now fixed in HEAD.
Thank you for reporting it.