[Top][All Lists]

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

[Tinycc-devel] Segment Fault on TinyC "mob" Branch

From: Zhuo Zhang
Subject: [Tinycc-devel] Segment Fault on TinyC "mob" Branch
Date: Sun, 7 Feb 2021 16:56:21 +0000

Hi all,

Here is another bug trigger by poc_crash.c. I try to find out why but I am not so familiar with the codebase of TinyC. I suspect it is an integer overflow or struct misuse, but not so sure. For more information, I additionally compile tcc with address sanitizer on, but it does not report any basic heap or stack overflow.

+ poc_crash.c:

+ How to trigger the bug:
simple run “./tcc poc_crash.c"

+ Detailed information:
system:  Ubuntu 18.04.5 LTS, x86-64
compiler (to compile tcc): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
commit: fbef90a7039b994907db34fde50f6fa5e46ab535
md5 of poc_crash.c: d41a05b9f5c49d7b548c5c5d4ad02989

Please let me known if there is anything I can help with. Thanks!

Attachment: poc_crash.c
Description: poc_crash.c

reply via email to

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