metaflac from media-libs/flac-1.3.0 has a known heap corruption issue. There is no newer release currently. The commit that fixes this problem is from just 2 weeks after the 1.3.0 release. Reproducible: Always Steps to Reproduce: 1. emerge media-libs/flac 2. metaflac --import-cuesheet-from=<any nontrivial cue sheet> Actual Results: Depending on version of glibc and architecture, you will get errors (as heap layouts vary); if you run under valgrind, the errors should always be flagged. If desired, I have a cuesheet that will trigger this every time on my stable amd64 system. Expected Results: The cuesheet should have been added to the flac Here's the commit to fix the problem: https://git.xiph.org/?p=flac.git;a=commitdiff;h=606fdfcaece19d3e05434bde57c289102a369069 It's a trivial patch that was made shortly after the release, so IMO we should apply that as part of the build process. If not, we should mask 1.3.0 Either way it would be nice to have a live ebuild since releases are coming so slowly.
in portage, as 1.3.0-r1