MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029834Open CASCADE[OCCT] OCCT:Codingpublic2018-06-02 14:242018-06-02 14:24
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformLinuxOSUbuntu 17.04OS Version64 bit
Product Version[OCCT] 7.3.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029834: Coding Rules - eliminate GCC compiler warnings -Wformat-overflow in IGESData_IGESWriter
DescriptionThe following GCC 7.2.0 compiler warnings should be eliminated:
/dev/occt.git/src/IFSelect/IFSelect_ShareOut.cxx|308|warning: ‘%d’ directive writing between 1 and 
10 bytes into a region of size 8 [-Wformat-overflow=]|
/usr/include/x86_64-linux-gnu/bits/stdio2.h|34|note: ‘__builtin___sprintf_chk’ output between 7 and 
25 bytes into a destination of size 10|

/dev/occt.git/src/IGESData/IGESData_IGESWriter.cxx|472|warning: ‘%7.7d’ directive writing between 
7 and 10 bytes into a region of size between 0 and 8 [-Wformat-overflow=]|
/usr/include/x86_64-linux-gnu/bits/stdio2.h|34|note: ‘__builtin___sprintf_chk’ output between 81 
and 144 bytes into a destination of size 81|

/dev/occt.git/src/IGESData/IGESData_IGESWriter.cxx|472|warning: ‘%7.7d’ directive writing between 
7 and 10 bytes into a region of size 8 [-Wformat-overflow=]|
/usr/include/x86_64-linux-gnu/bits/stdio2.h|34|note: ‘__builtin___sprintf_chk’ output 81 or more 
bytes (assuming 84) into a destination of size 81|

/dev/occt.git/src/IGESData/IGESData_IGESWriter.cxx|472|warning: ‘                                        
T0000001’ directive writing 48 bytes into a region of size between 33 and 49 [-Wformat-overflow=]|


/usr/include/x86_64-linux-gnu/bits/stdio2.h|34|note: ‘__builtin___sprintf_chk’ output between 81 
and 97 bytes into a destination of size 81|

note: directive argument in the range [2, 2147483647]|
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0029252verifiedbugmaster Coding rules - eliminate GCC compiler warnings -Wformat-overflow 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-06-02 14:24 kgv New Issue
2018-06-02 14:24 kgv Assigned To => kgv
2018-06-02 14:24 kgv Relationship added related to 0029252


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker