[Bug 2077744] [NEW] pillow: Does not respect compiler flags
Graham Inggs
2077744 at bugs.launchpad.net
Fri Aug 23 15:10:44 UTC 2024
Public bug reported:
[Impact]
The packaging does not respect compiler flags, notably hardening flags like the stack protector, as well as frame pointer, as it never uses dpkg-buildflags and is still old manual style.
This means there is a higher security risk, and the lack of frame
pointers hampers profiling.
[Test plan]
Look at the build log and see that the build flags have been passed, notably stuff like
-fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2
-Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-
leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
protector-strong -fstack-clash-protection -Wformat -Werror=format-
security -fcf-protection
[Where problems could occur]
Hardening flags could surface existing (possibly security) bugs that have been asymptomatic so far; frame pointers will incur some slow down.
** Affects: pillow (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pillow in Ubuntu.
https://bugs.launchpad.net/bugs/2077744
Title:
pillow: Does not respect compiler flags
Status in pillow package in Ubuntu:
New
Bug description:
[Impact]
The packaging does not respect compiler flags, notably hardening flags like the stack protector, as well as frame pointer, as it never uses dpkg-buildflags and is still old manual style.
This means there is a higher security risk, and the lack of frame
pointers hampers profiling.
[Test plan]
Look at the build log and see that the build flags have been passed, notably stuff like
-fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2
-Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-
omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
protector-strong -fstack-clash-protection -Wformat -Werror=format-
security -fcf-protection
[Where problems could occur]
Hardening flags could surface existing (possibly security) bugs that have been asymptomatic so far; frame pointers will incur some slow down.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pillow/+bug/2077744/+subscriptions
More information about the foundations-bugs
mailing list