Bug 875009 - gcc: fix integer overflow in __cxa_vec_new[23]
Summary: gcc: fix integer overflow in __cxa_vec_new[23]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 10:07 UTC by Florian Weimer
Modified: 2012-12-20 15:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:28:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gcc47-c++-cxa_vec_new-check.patch (3.54 KB, patch)
2012-11-09 10:07 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2012-11-09 10:07:59 UTC
Created attachment 641436 [details]
gcc47-c++-cxa_vec_new-check.patch

This upstream patch fixes an integer overflow in a libstdc++ ABI support function.  GCC-generated code does not call this function, but code compiled with other compilers might (notably those based on the EDG front end).  As a result, no Fedora packages need to be rebuilt to make this change effective.

I have built gcc-4.7.2-7.fc18 with this patch and checked that the disassembly of libstdc++.so.6 includes the change.

Comment 1 Fedora Update System 2012-11-09 15:49:41 UTC
gcc-4.7.2-8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gcc-4.7.2-8.fc18

Comment 2 Fedora Update System 2012-11-09 21:10:37 UTC
Package gcc-4.7.2-8.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gcc-4.7.2-8.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17928/gcc-4.7.2-8.fc18
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-12-20 15:28:21 UTC
gcc-4.7.2-8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.