bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] undefined behavior with standard archive


From: Agostino Sarubbo
Subject: [Bug-tar] undefined behavior with standard archive
Date: Sat, 25 Feb 2017 18:43:39 +0100
User-agent: KMail/4.14.10 (Linux/4.4.39-gentoo; KDE/4.14.28; x86_64; ; )

Hello all,

after have compiled tar with asan/ubsan I noticed an undefined behavior with 
the tar archive itself:


# tar -xf /usr/portage/distfiles/tar-1.29.tar.bz2 -C /tmp/
buffer.c:937:31: runtime error: index 4096 out of bounds for type 'char [512]'
extract.c:1190:30: runtime error: index 7333 out of bounds for type 'char 
[512]'

I hope this is not a duplicate.

-- 
Agostino Sarubbo
Gentoo Linux Developer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]