OpenNMT / CTranslate2

Fast inference engine for Transformer models

Home Page:https://opennmt.net/CTranslate2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

raivisdejus opened this issue · 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