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.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to