Describe the bug
when attempting to run this program it immediately gives a buffer overflow detected error
the stacktrace seems to indicate the issue originated on line 15 of .wrapped_unnethack in the nix store.
after getting the error it also alters the terminal. making nothing typed in visible.
Steps To Reproduce
Steps to reproduce the behavior:
- run the command
nix run "nixpkgs#unnethack"
Expected behavior
I expect the program to run without a buffer overflow detected and the terminal not to be effected.
Screenshots
If applicable, add screenshots to help explain your problem.
this is what it looks like when the program is run:

Additional context
N/A
Notify maintainers
@trofi
@Profpatsch
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.9-200.fc39.x86_64, Fedora Linux, 39.20240113.0 (Silverblue), nobuild`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.19.2`
- nixpkgs: `/var/home/naidneelttil/.nix-defexpr/channels/nixpkgs`
Add a 👍 reaction to issues you find important.
Describe the bug
when attempting to run this program it immediately gives a buffer overflow detected error
the stacktrace seems to indicate the issue originated on line 15 of .wrapped_unnethack in the nix store.
after getting the error it also alters the terminal. making nothing typed in visible.
Steps To Reproduce
Steps to reproduce the behavior:
nix run "nixpkgs#unnethack"Expected behavior
I expect the program to run without a buffer overflow detected and the terminal not to be effected.
Screenshots
If applicable, add screenshots to help explain your problem.

this is what it looks like when the program is run:
Additional context
N/A
Notify maintainers
@trofi
@Profpatsch
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.Add a 👍 reaction to issues you find important.