Crash on "info" with very short file
- From: Alexandr Orlov <alxorlov@xxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Thu, 15 Feb 2007 18:19:22 +0300
Hello!
When I am looking information about short files, which contains only one
symbol, Emelfm2 crashes.
The way to reproduce the bug:
$ touch test.txt
$ echo -n 1 > test.txt
$ file test.txt
test.txt: very short file (no magic)
Then enter Emelfm2, and look info on file test.txt
This is what gdb shows:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216279632 (LWP 25516)]
0x4647b5ee in strstr () from /lib/libc.so.6
#0 0x4647b5ee in strstr () from /lib/libc.so.6
#1 0x00000000 in ?? ()
#2 0x00000000 in ?? ()
#3 0xb7810418 in ?? ()
#4 0x080ae3a2 in e2_file_info_dialog_run (localpath=0x82825c8
"/home/sheridan/", multi=136110096)
at src/dialogs/e2_file_info_dialog.c:379
Previous frame inner to this frame (corrupt stack?)
--
Alexandr Orlov
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- Re: Crash on "info" with very short file
- From: tpgww
Other related posts:
- » Crash on "info" with very short file
- » Re: Crash on "info" with very short file
- Re: Crash on "info" with very short file
- From: tpgww