Summary: | app-emulation/dosemu-1.4.0 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Bezrukov <phmagic> |
Component: | Current packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 301325 | ||
Bug Blocks: | |||
Attachments: |
emerge -1 --info app-emulation/dosemu >/tmp/emerge.info
build.log Patch which fixes a bug which leads to compilation issue with gcc-4.4 A proposed ebuild (need not be -r1) |
Description
Alexander Bezrukov
2010-06-10 02:06:06 UTC
Created attachment 234801 [details]
emerge -1 --info app-emulation/dosemu >/tmp/emerge.info
Created attachment 234805 [details]
build.log
This is infamous issue with open() call with gcc-4.4 which catches it. The source code contains a BUG. When open(2) is called with the O_CREAT flag, the creation mode MUST be passed. Otherwise, a garbage is used as a creation mode which is potentially an exploitable SECURITY issue. I will prepare a patch which fixes this problem. Created attachment 234807 [details, diff]
Patch which fixes a bug which leads to compilation issue with gcc-4.4
This bug has potential security implications.
Created attachment 234809 [details]
A proposed ebuild (need not be -r1)
Only added one epatch line.
adding 1.4.0-r1 and this patch would be pointless, since this is already fixed in 1.4.0.1 closing as invalid because it's already been fixed. 06 Feb 2009; Hanno Boeck <hanno@gentoo.org> +files/dosemu-1.4.0.1-gcc433.diff, dosemu-1.4.0.1.ebuild: Patch from upstream svn to fix compilation with gcc 4.3.3. and going stable wrt bug 301325 |