This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/81400] New: Stack smashing not caught by stack protector strong and allowing me to stack smash


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81400

            Bug ID: 81400
           Summary: Stack smashing not caught by stack protector strong
                    and allowing me to stack smash
           Product: gcc
           Version: 7.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gccbugzilla.severach at spamgourmet dot com
  Target Milestone: ---

Created attachment 41720
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41720&action=edit
Stack smash demo

I've made up some simple cases where stack smashing is not being caught. In one
case -fstack-protector-strong prevents a seg fault and allows me to stack smash
unchallenged.

The demo is attached as a .tgz. Though this is against the rules the bug system
doesn't allow me to submit the multiple files requested any other way. Consider
this a bug report that the bug writing guidelines should be changed to "we
require a .tar .tgz .zip of the files to be submitted" or the bug tracker needs
to accept multiple files.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]