fix: 内存安全加固

This commit is contained in:
2023-02-12 23:56:25 +08:00
parent da03261cbb
commit 4f2c5f1bdc
6 changed files with 113 additions and 103 deletions

1
debian/rules vendored
View File

@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export QT_SELECT=5
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

View File

@@ -36,7 +36,7 @@ case "$1" in
echo "Compiling the Sender module..."
gcc /opt/durapps/spark-store/bin/ss-feedback/sender-d.sh.c -o /opt/durapps/spark-store/bin/ss-feedback/sender-d
gcc -Wformat -Wformat-security -Werror=format-security /opt/durapps/spark-store/bin/ss-feedback/sender-d.sh.c -o /opt/durapps/spark-store/bin/ss-feedback/sender-d
# Install key
mkdir -p /tmp/spark-store-install/