On 09/16/2016 01:43 PM, Laurent Bercot wrote:
On 15/09/2016 13:55, Denys Vlasenko wrote:
Works for me...
I can reproducibly segfault when wgetting a page twice (i.e. the file
already exists).
I can also reproducibly segfault when using busybox vi, for instance
on the index.html file downloaded with "wget http://skarnet.org/"
I have tried building with 2 different toolchains that have always
worked for me, including with previous versions of busybox, and both
binaries segfault.
Linux-4.6.3, musl 1.1.15, x86_64.
I will try on another machine.
Hi,
works here with latest git.
Ciao,
Tito
./busybox wget http://skarnet.org/
Connecting to skarnet.org (92.243.1.28:80)
index.html 100%
|***********************************************************************************************************************************|
1217 0:00:00 ETA
debian:~/Desktop/SourceCode/busybox$ ./busybox wget http://skarnet.org/
Connecting to skarnet.org (92.243.1.28:80)
wget: can't open 'index.html': File exists
read(3, "HTTP/1.0 200 OK\r\nContent-type: t"..., 4096) = 190
alarm(900) = 900
alarm(900) = 900
alarm(900) = 900
alarm(900) = 900
alarm(900) = 900
alarm(900) = 900
alarm(900) = 900
open("index.html", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0666) = -1 EEXIST
(File exists)
write(2, "wget: can't open 'index.html': F"..., 43wget: can't open
'index.html': File exists
) = 43
exit_group(1) = ?
+++ exited with 1 +++
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox