pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

games/xpipeman doesn't play nice with ASLR



It appears that xpipeman does something strange when handling its scores
file, and a default installation causes a segmentation fault.  The patch
below disables PAX-ASLR and then the game can manage the score file!

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/xpipeman/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile	6 Oct 2012 11:55:02 -0000	1.20
+++ Makefile	7 Apr 2017 03:28:35 -0000
@@ -22,6 +22,8 @@ REQD_DIRS_PERMS=	share/xpipeman ${GAMES_

 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man6 share/xpipeman

+NOT_PAX_MPROTECT_SAFE+=   bin/xpipeman
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xpipeman ${DESTDIR}${PREFIX}/bin/xpipeman
 	${INSTALL_MAN} ${WRKSRC}/xpipeman.man \


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index