Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129589 - media-sound/ncmpc-0.11.1-r1 trampoline requires executable stacks
Summary: media-sound/ncmpc-0.11.1-r1 trampoline requires executable stacks
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL: http://musicpd.org/mantis/view.php?id...
Whiteboard:
Keywords:
: 171187 204233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-11 06:52 UTC by joachim.fasting
Modified: 2008-01-04 07:18 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joachim.fasting 2006-04-11 06:52:27 UTC
/var/tmp/portage/ncmpc-0.11.1-r1/temp/scanelf-execstack.log:
RWX --- --- image/usr/bin/ncmpc                                                 
RWX --- --- work/ncmpc-0.11.1/src/ncmpc
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-11 08:55:38 UTC
screen_play.c: In function 'handle_save_playlist':
screen_play.c:119: warning: generating trampoline in object (requires executable stack)
screen_play.c:119: warning: generating trampoline in object (requires executable stack)
screen_play.c: In function 'handle_add_to_playlist':
screen_play.c:212: warning: generating trampoline in object (requires executable stack)
screen_play.c:212: warning: generating trampoline in object (requires executable stack)

hardened, some way to fix/avoid this, a part rewriting the code?
Comment 2 SpanKY gentoo-dev 2006-04-11 10:21:11 UTC
prob not

my guess is there are nested functions ... just unnest them and mark the functions static
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-18 11:27:10 UTC
I would suggest UPSTREAM then or reassigning to hardened team, as I don't actually want to mess more with this than it's needed...
Comment 4 SpanKY gentoo-dev 2006-04-18 17:24:44 UTC
it cant really be fixed without recoding:

handle_save_playlist(screen_t *screen, mpdclient_t *c, char *name)
{
    ...
    void pre_completion_cb(GCompletion *gcmp, gchar *line)
    {
        ...
        list = gcmp_list_from_path(c, "", NULL, GCMP_TYPE_PLAYLIST);
    }
    ...
    wrln_pre_completion_callback = pre_completion_cb;
    filename = screen_readln(screen->status_window.w ...)
    ...
}
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2006-04-21 02:20:30 UTC
Reported bug in upstream bug tracker:

http://musicpd.org/mantis/view.php?id=1270
Comment 6 solar (RETIRED) gentoo-dev 2006-04-21 04:56:32 UTC
Why was this closed upstream? The ebuild incorrectly assumes mmx.
Comment 7 solar (RETIRED) gentoo-dev 2006-04-21 04:57:14 UTC
Sorry wrong I just commented on the wrong bug.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-16 20:00:03 UTC
*** Bug 171187 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-01-04 07:18:47 UTC
*** Bug 204233 has been marked as a duplicate of this bug. ***