Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645448 - net-libs/nodejs does not respect CFLAGS (fno-stack-protector)
Summary: net-libs/nodejs does not respect CFLAGS (fno-stack-protector)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 13:34 UTC by Agostino Sarubbo
Modified: 2018-01-24 20:52 UTC (History)
1 user (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 Agostino Sarubbo gentoo-dev 2018-01-23 13:34:20 UTC
While is good for a security purpose, the package does not respect the fno-stack-protector CFLAG
To test, compile it with CFLAGS/CXXFLAGS fno-stack-protector and run:
checksec --file /usr/bin/node

The checksec command line tool is from app-admin/checksec.
Comment 1 Agostino Sarubbo gentoo-dev 2018-01-23 13:37:22 UTC
It is also overwriting the fortify_source flag
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-24 20:52:25 UTC
No build log, no emerge --info output.