CTranslate2 icon indicating copy to clipboard operation
CTranslate2 copied to clipboard

libctranslate2-81fc0d88.so.4.2.1 in python package has executable stack flag

Open raivisdejus opened this issue 1 month ago • 0 comments

When installing ctranslate2 as part of a python app, it's dependency library ctranslate2.libs/libctranslate2-81fc0d88.so.4.2.1 has executable stack flag. This breaks the build process if we try to build the snap package of the app.

Steps to reproduce:

python -m venv venv
source ./venv/bin/activate
pip install ctranslate2
find ./ -executable -type f -exec execstack "{}" \; 2>&1 | grep "X "

Information on the snap issue https://forum.snapcraft.io/t/snap-and-executable-stacks/1812

From what I read this may be a potential security problem in apps that use ctranslate2

raivisdejus avatar May 14 '24 19:05 raivisdejus