Summary: | media-video/dvdauthor-0.7.2-r2: mpeg2desc contains writable and executable sections due to nested function usage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rathgeb <maggu2810> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | UNCONFIRMED --- | ||
Severity: | QA | CC: | atoth, vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | remove nested function resulting in RWX section |
Description
Markus Rathgeb
2012-12-04 18:49:23 UTC
it's because of this fun guy: src/mpeg2desc.c: /* GCC extension! nested routine */ void bufread(void *ptr, int len, bool required) Some more info on this: This is the commit introducing the nested function: https://github.com/ldo/dvdauthor/commit/3dcfc72831cdd3f9d86432db2dacc33a01116dba Later on makefile changes were made to detect whether the compiler supports it: https://github.com/ldo/dvdauthor/commit/3d7b6ad07a9c00d2f0309b839ac0194444ecb551 Created attachment 465098 [details, diff]
remove nested function resulting in RWX section
Use this patch to copy in /etc/portage/patches/media-video/dvdauthor-{version}/ directory to get rid of the RWX section.
(In reply to Attila Tóth from comment #3) that's one way of doing it, but it means losing functionality tinderbox has reproduced this issue with version 0.7.2-r2 - Updating summary. (In reply to Agostino Sarubbo from comment #5) > tinderbox has reproduced this issue with version 0.7.2-r2 - Updating summary. Getting rid of the nested section still corrects the executable sections - although at the cost of performance as it was perviously pointed out by Vapier... |