Bug#1009051: free(): double free detected in tcache 2

2022-04-08 Thread Mathieu Malaterre
Control: fixed -1 1.21.2-1

On Wed, Apr 6, 2022 at 6:40 PM Noël Köthe  wrote:
>
> Hello Mathieu,
>
> Am Mittwoch, dem 06.04.2022 um 17:14 +0200 schrieb Mathieu Malaterre:
> > Control: fixed -1 1.21.3-1+b1
> > Control: forwarded -1 https://savannah.gnu.org/bugs/?61277
> >
> > Seems like this is fixed in sid. Closing.
>
> It might be this bug was fixed here:
>
> /usr/share/doc/wget/NEWS.gz
>
> ...
> * Noteworthy changes in release 1.21.2 (2021-09-07)
> ...
> * Fix a double free in FTP when using an absolute path
> ...

Looks like it !

Thanks



Bug#1009051: free(): double free detected in tcache 2

2022-04-06 Thread Noël Köthe
Hello Mathieu,

Am Mittwoch, dem 06.04.2022 um 17:14 +0200 schrieb Mathieu Malaterre:
> Control: fixed -1 1.21.3-1+b1
> Control: forwarded -1 https://savannah.gnu.org/bugs/?61277
> 
> Seems like this is fixed in sid. Closing.

It might be this bug was fixed here:

/usr/share/doc/wget/NEWS.gz

...
* Noteworthy changes in release 1.21.2 (2021-09-07)
...
* Fix a double free in FTP when using an absolute path
...


signature.asc
Description: This is a digitally signed message part


Bug#1009051: free(): double free detected in tcache 2

2022-04-06 Thread Mathieu Malaterre
Control: fixed -1 1.21.3-1+b1
Control: forwarded -1 https://savannah.gnu.org/bugs/?61277

Seems like this is fixed in sid. Closing.



Bug#1009051: free(): double free detected in tcache 2

2022-04-06 Thread Mathieu Malaterre
Source: wget
Version: 1.21-1+deb11u1

wget -r -np seems to call twice free():

free(): double free detected in tcache 2

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50  ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x77a9c537 in __GI_abort () at abort.c:79
#2  0x77af5768 in __libc_message
(action=action@entry=do_abort, fmt=fmt@entry=0x77c03e2d "%s\n") at
../sysdeps/posix/libc_fatal.c:155
#3  0x77afca5a in malloc_printerr
(str=str@entry=0x77c06170 "free(): double free detected in tcache
2") at malloc.c:5347
#4  0x77afe055 in _int_free (av=0x77c35b80 ,
p=0x55601560, have_lock=0) at malloc.c:4201
#5  0x555a0cba in rpl_free (p=0x55601570) at ../../lib/free.c:31
#6  0x5556a8b8 in freefileinfo (f=0x55606a30) at
../../src/ftp.c:2892
#7  ftp_retrieve_glob (u=u@entry=0x556014d0,
original_url=original_url@entry=0x556014d0,
con=con@entry=0x7fffd8e0, action=) at
../../src/ftp.c:2754
#8  0x5556b0df in ftp_loop (u=u@entry=0x556014d0,
original_url=original_url@entry=0x556014d0,
local_file=local_file@entry=0x7fffda80,
dt=dt@entry=0x7fffdb30, proxy=proxy@entry=0x0,
recursive=, glob=true) at ../../src/ftp.c:2842
#9  0x555894c9 in retrieve_url
(orig_parsed=orig_parsed@entry=0x556014d0,
origurl=origurl@entry=0x7fffe0a0
"ftp://medical.nema.org//MEDICAL/Private/Dicom/WORKGRPS/Wg06/;,
file=file@entry=0x7fffdb38, newloc=newloc@entry=0x7fffdb40,
refurl=refurl@entry=0x0, dt=dt@entry=0x7fffdb30,
recursive=true, iri=0x55601390, register_status=true) at
../../src/retr.c:999
#10 0x55560e81 in main (argc=,
argv=0x7fffdd28) at ../../src/main.c:2167