Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364315 - dev-embedded/tigcc-0.96_beta7 buffer overflow
Summary: dev-embedded/tigcc-0.96_beta7 buffer overflow
Status: RESOLVED DUPLICATE of bug 337059
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 05:29 UTC by Micah Shennum
Modified: 2012-03-19 11:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info tigcc (emerge.info,15.90 KB, text/plain)
2011-04-21 05:30 UTC, Micah Shennum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Micah Shennum 2011-04-21 05:29:04 UTC
tigcc's ld has a buffer overflow every single time I run tigcc, which keeps me from compiling any programs for my TI-89

Reproducible: Always

Steps to Reproduce:
1.write any program for ti calculator
2. run tigcc equations.c 
3. get a buffer overflow
Actual Results:  
tigcc equations.c 
*** buffer overflow detected ***: /usr/ti-linux-gnu/bin/ld-tigcc terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7ffdb6a6bec7]
/lib64/libc.so.6(+0xead20)[0x7ffdb6a69d20]
/usr/ti-linux-gnu/bin/ld-tigcc[0x410732]
/usr/ti-linux-gnu/bin/ld-tigcc[0x40fb5a]
/usr/ti-linux-gnu/bin/ld-tigcc[0x40fe4d]
/usr/ti-linux-gnu/bin/ld-tigcc[0x401a60]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7ffdb699debd]
/usr/ti-linux-gnu/bin/ld-tigcc[0x401079]
======= Memory map: ========
00400000-00424000 r-xp 00000000 08:07 921566                             /usr/ti-linux-gnu/tigcc-bin/4.1.2/ld-tigcc
00623000-00624000 r--p 00023000 08:07 921566                             /usr/ti-linux-gnu/tigcc-bin/4.1.2/ld-tigcc
00624000-00625000 rw-p 00024000 08:07 921566                             /usr/ti-linux-gnu/tigcc-bin/4.1.2/ld-tigcc
01d26000-01d47000 rw-p 00000000 00:00 0                                  [heap]
7ffdb6769000-7ffdb677e000 r-xp 00000000 08:07 7762                       /lib64/libgcc_s.so.1
7ffdb677e000-7ffdb697d000 ---p 00015000 08:07 7762                       /lib64/libgcc_s.so.1
7ffdb697d000-7ffdb697e000 r--p 00014000 08:07 7762                       /lib64/libgcc_s.so.1
7ffdb697e000-7ffdb697f000 rw-p 00015000 08:07 7762                       /lib64/libgcc_s.so.1
7ffdb697f000-7ffdb6b01000 r-xp 00000000 08:07 5776209                    /lib64/libc-2.13.so
7ffdb6b01000-7ffdb6d00000 ---p 00182000 08:07 5776209                    /lib64/libc-2.13.so
7ffdb6d00000-7ffdb6d04000 r--p 00181000 08:07 5776209                    /lib64/libc-2.13.so
7ffdb6d04000-7ffdb6d05000 rw-p 00185000 08:07 5776209                    /lib64/libc-2.13.so
7ffdb6d05000-7ffdb6d0a000 rw-p 00000000 00:00 0 
7ffdb6d0a000-7ffdb6d29000 r-xp 00000000 08:07 5776214                    /lib64/ld-2.13.so
7ffdb6ec2000-7ffdb6ef9000 rw-p 00000000 00:00 0 
7ffdb6f28000-7ffdb6f29000 rw-p 00000000 00:00 0 
7ffdb6f29000-7ffdb6f2a000 r--p 0001f000 08:07 5776214                    /lib64/ld-2.13.so
7ffdb6f2a000-7ffdb6f2b000 rw-p 00020000 08:07 5776214                    /lib64/ld-2.13.so
7ffdb6f2b000-7ffdb6f2c000 rw-p 00000000 00:00 0 
7fff56348000-7fff5636a000 rw-p 00000000 00:00 0                          [stack]
7fff563ff000-7fff56400000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Error executing /usr/ti-linux-gnu/bin/ld-tigcc

Expected Results:  
equations.89z

attaching output of emerge --info
Comment 1 Micah Shennum 2011-04-21 05:30:51 UTC
Created attachment 270747 [details]
emerge --info tigcc
Comment 2 Pacho Ramos gentoo-dev 2012-03-19 11:47:30 UTC

*** This bug has been marked as a duplicate of bug 337059 ***