tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] AddressSanitizer: global-buffer-overflow


From: Michael Matz
Subject: Re: [Tinycc-devel] AddressSanitizer: global-buffer-overflow
Date: Fri, 12 Feb 2021 23:48:52 +0100 (CET)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hello,

On Thu, 11 Feb 2021, Zhuo Zhang wrote:

A global-buffer overflow occurs in commit 
fbef90a7039b994907db34fde50f6fa5e46ab535 (ASAN on).

System info: ubuntu 18.04, x86-64

Without ASAN, tcc will encounter a segment fault due to this overflow.

Actually you won't get a segfault but an abort, due to an assert triggering. That is fine. Nevertheless it's nicer to not do out-of-bounds array accesses, so I've fixed that in mob. Thanks for the report.


Ciao,
Michael.



reply via email to

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