aviraldg / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

Don't know how to get rid the Segmentation fault #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I got problem with whr-hp-g300n-firmware-MULTI.bin. I downloaded it on the 
dd-wrt.com, brianslayer's version.

But ddwrt-gui-extract.sh not work with it. i mean the webdecomp.

I tested it on my ubuntu and my suse, both got this error:

/ddwrt-gui-extract.sh: line 35:  8529 Segmentation fault      
./src/webcomp-tools/webdecomp --httpd="$HTTPD" --www="$WWW" --dir="$OUT" 
--extract

What's wrong? the pointer flying away?

Original issue reported on code.google.com by Raincious on 15 Jul 2012 at 5:29

GoogleCodeExporter commented 8 years ago
Please upload the exact firmware image here so we can test it.

Original comment by heffne...@gmail.com on 17 Jul 2012 at 8:26

GoogleCodeExporter commented 8 years ago
Thank you for reply, I want to upload it but Google tells me "Project 
attachment quota exceeded."

The file name is whr-hp-g300n-firmware-MULTI.bin, can be download from 
http://www.dd-wrt.com/site/support/other-downloads

path: Downloads › others › eko › BrainSlayer-V24-preSP2 › 2012 › 
06-08-12-r19342 › buffalo_whr_hp_g300n

Original comment by Raincious on 18 Jul 2012 at 2:59

GoogleCodeExporter commented 8 years ago
here's the download addr: 
ftp://www.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2012/06-08-12-r19342/buff
alo_whr_hp_g300n/whr-hp-g300n-firmware-MULTI.bin

Original comment by Raincious on 18 Jul 2012 at 3:02

GoogleCodeExporter commented 8 years ago
Thanks, bug reproduced, investigating...

Original comment by heffne...@gmail.com on 19 Jul 2012 at 3:26

GoogleCodeExporter commented 8 years ago
It was an endianess bug. Fixed now, I just did a successful extraction and 
re-build of the web files from this firmware image.

Original comment by heffne...@gmail.com on 19 Jul 2012 at 4:21

GoogleCodeExporter commented 8 years ago
Thanks Ed ;). Endianness issues are a PITA and easy to miss.

Original comment by jeremy.collake@gmail.com on 19 Jul 2012 at 4:32

GoogleCodeExporter commented 8 years ago
Nice work, thank you :-D

Original comment by Raincious on 19 Jul 2012 at 6:03