-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buffer overflow when built with D_FORTIFY_SOURCE=2 #5
Comments
Thanks for reporting. This might be a packaging bug in Arch Linux, and not an issue with Zsnes. Please add a comment to this bug report https://bugs.archlinux.org/task/75031, describing the steps that Arch Linux packagers can take to reproduce the issue, in order to be able to find a solution. If you should wish to help out further to get to the bottom of this, then extracting the rom file from Thanks! |
This is likely to be an old bug that is exposed by compiling with a newer version of gcc. |
What are the steps to reproduce the issue? |
Hello Alexander F. R.
I cant manage to login in Arch Linux bug report, so I'm sending how to reproduce the bug.
The steps to reproduce the bug:
[Using Zsnes Gui in XFCE]:
Go to the Games folder, click on the Zsnes icon -> it wont open
OR
In a terminal, try to load a rom using (in this example, I use Actraiser 2 rom):
[zipped Rom]
$ zsnes -s -r 3 ActRaiser\ 2\ \(U\)\ \[\!\].zip
Or
$ zsnes -s -r 3 Unzips/ActRaiser\ 2\ \(U\)\ \[\!\].smc
Zsnes will show the message to both cases:
*** buffer overflow detected ***: terminated
Aborted (core dumped)
That's all. Zsnes wont start anyway and returns the error message above.
Thanks in advance!
…________________________________
De: Alexander F. Rødseth ***@***.***>
Enviado: domingo, 12 de junho de 2022 12:11
Para: xyproto/zsnes ***@***.***>
Cc: Proscritt09 ***@***.***>; Author ***@***.***>
Assunto: Re: [xyproto/zsnes] buffer overflow after "export CXXFLAGS=${CXXFLAGS/-fcf-protection/}" was added to the Arch Linux zsnes package and/or gcc was upgraded (Issue #5)
What are the steps to reproduce the issue?
—
Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSRXITTV6BYI4R5ZXJ62X3VOXHVXANCNFSM5YPK643A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks for the info! When building (I maintain the |
Hi Zsnes team. I'm using Zsnes in EndeavourOS, a Arch Linux based distro.
Using Zsnes version 2.0.9-1 runs fine without errors, but after last upgrade (using pacman) to version 2.0.9-2, when I click run or enter in a terminal for any rom (this example using Actraiser 2 rom):
zsnes -s -r 3 ActRaiser\ 2\ \(U\)\ \[\!\].zip
It returns:
*** buffer overflow detected ***: terminated
Aborted (core dumped)
Any hints to solve this problem? Thanks in advance!
My specs:
https://clbin.com/Z8XID
The text was updated successfully, but these errors were encountered: