Skip to content
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

gnome_mplayer fails with format string build warning #24096

Closed
jpdoyle opened this issue Mar 20, 2017 · 5 comments
Closed

gnome_mplayer fails with format string build warning #24096

jpdoyle opened this issue Mar 20, 2017 · 5 comments

Comments

@jpdoyle
Copy link
Contributor

jpdoyle commented Mar 20, 2017

Issue description

gnome_mplayer fails to build with a warning about a pretty bad-looking format string vulnerability:
gnome-mplayer-fail.txt

Steps to reproduce

Install gnome_mplayer.

Technical details

  • System: (NixOS: 16.09.1836.067e66a (Flounder))
  • Nix version: 16.09.1836.067e66a (Flounder)
  • Nixpkgs version: "16.09.1836.067e66a"
@joachifm
Copy link
Contributor

Looks to have been fixed by 4e2f802

@Mic92
Copy link
Member

Mic92 commented Mar 20, 2017

Is this commit already in stable?

@jpdoyle jpdoyle closed this as completed Mar 20, 2017
@jpdoyle jpdoyle reopened this Mar 20, 2017
@globin
Copy link
Member

globin commented Mar 20, 2017

Only in 17.03

@jpdoyle
Copy link
Contributor Author

jpdoyle commented Mar 20, 2017

@joachifm That commit is concerning to me from a security standpoint. Doesn't a format-string warning warrant a patch instead of warning suppression?

globin added a commit that referenced this issue Mar 20, 2017
closes #24096

(cherry picked from commit 4e2f802)
@globin
Copy link
Member

globin commented Mar 20, 2017

It should be eventually fixed by a proper patch, but most occurrences are completely harmless and don't necessarily mean it is a security issue. Also that is the only hardening option that does not give us further runtime guarantees for security so it is mostly harmless to turn it off if it is still more preferable to make the build succeed at all.

But definitely feel free to grep for hardeningDisable.*format and write patches, especially for upstream, I'd appreciate this a lot but I myself sadly don't have the time.

Edit: pushed to release-16.09, too.

@globin globin closed this as completed Mar 20, 2017
adrianpk added a commit to adrianpk/nixpkgs that referenced this issue May 31, 2024
closes NixOS#24096

(cherry picked from commit 4e2f802)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants