Menu

#3 7kaa Version 2.14.5 bufferoverflow and others

v1.0 (example)
closed
nobody
None
5
2016-11-12
2015-05-27
nemysis
No

I'm Maintainer for openSUSE for Seven Kingdoms

https://build.opensuse.org/package/users/games/7kaa

When try to compile Version 2.14.5 get

[ 136s] 7kaa-2.14.5-0.x86_64
[ 138s] ... running 01-check-debuginfo
[ 138s] ... testing for empty debuginfo packages
[ 138s] ... running 02-check-gcc-output
[ 138s] ... testing for serious compiler warnings
[ 138s] (using /usr/lib/build/checks-data/check_gcc_output)
[ 138s] (using /var/tmp/build-root/openSUSE_Factory-x86_64/.build.log)
[ 139s]
[ 139s] I: A function overflows or underflows an array access. This could be a real error,
[ 139s] but occasionaly this condition is also misdetected due to loop unrolling or strange pointer
[ 139s] handling. So this is warning only, please review.
[ 139s] W: 7kaa arraysubscript OF_MARK.cpp:817
[ 139s] W: 7kaa arraysubscript OMOUSE.cpp:374
[ 139s]
[ 139s] I: Program causes undefined operation
[ 139s] (likely same variable used twiceand post/pre incremented in the same expression).
[ 139s] e.g. x = x++; Split it in two operations.
[ 139s] W: 7kaa sequence-point OVOLUME.cpp:73
[ 139s]
[ 139s] I: Program is likely to break with new gcc. Try -fno-strict-aliasing.
[ 139s] W: 7kaa strict-aliasing-punning OERRCTRL.cpp:286, 327, 357, 397, 483
[ 139s] W: 7kaa strict-aliasing-punning OMP_CRC.cpp:98, 121, 164, 196, 219, 242, 265, 310, 343, 376, 399, 437, 460, 486, 525, 548, 571, 604, 636, 672, 707, 739, 762, 788, 811, 835, 856, 877
[ 139s] W: 7kaa strict-aliasing-punning OREMOTE2.cpp:333, 367, 444, 460
[ 139s] W: 7kaa strict-aliasing-punning OREMOTEM.cpp:345, 383, 480, 1760, 1762, 2701
[ 139s] W: 7kaa strict-aliasing-punning OSYS.cpp:2450
[ 139s] W: 7kaa strict-aliasing-punning OUNITI.cpp:200
[ 139s]
[ 139s] I: Statement is overflowing a buffer
[ 139s] E: 7kaa bufferoverflow /usr/include/bits/stdio2.h:65

The buildroot was: /var/tmp/build-root/openSUSE_Factory-x86_64

Please correct this and upload a good Version 2.14.5

1 Attachments

Discussion

  • Jesse Allen

    Jesse Allen - 2016-11-12
    • status: open --> closed
     
  • Jesse Allen

    Jesse Allen - 2016-11-12

    I believe we addressed the buffer overflows.

    For any other issue, please file specific bug reports.

     

Log in to post a comment.

MongoDB Logo MongoDB