Hi, could you please enable more hardening when compiling okular? STEPS TO REPRODUCE 1. snap install okular 2. hardening-check /snap/okular/current/usr/bin/okular OBSERVED RESULT /snap/okular/current/usr/bin/okular: Position Independent Executable: yes Stack protected: yes Fortify Source functions: no, only unprotected functions found! Read-only relocations: yes Immediate binding: yes Stack clash protection: unknown, no -fstack-clash-protection instructions found Control flow integrity: unknown, no -fcf-protection instructions found! EXPECTED RESULT Stack clash protection and Control flow integrity enabled in okular. SOFTWARE/OS VERSIONS irrelevent
I am closing this bug because the okular snap is now on the same hardening level as apt packages and flatpak bundles.