[libkml] 12/13: Add lintian override for hardening-no-fortify-functions on JNI libraries.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sun Aug 2 21:09:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository libkml.
commit 92d6bd6779403cf3a271dda08e111d33ab1e257d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Aug 2 22:59:32 2015 +0200
Add lintian override for hardening-no-fortify-functions on JNI libraries.
---
debian/libkml-java.lintian-overrides | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/libkml-java.lintian-overrides b/debian/libkml-java.lintian-overrides
index 860a2ea..a876679 100644
--- a/debian/libkml-java.lintian-overrides
+++ b/debian/libkml-java.lintian-overrides
@@ -1,2 +1,10 @@
# OpenJDK 7 preferred
libkml-java: incompatible-java-bytecode-format Java7 version (Class format: 51)
+
+# Build uses -D_FORTIFY_SOURCE=2, but hardening-check reports:
+# Fortify Source functions: no, only unprotected functions found!
+# unprotected: memmove
+# unprotected: memcpy
+# unprotected: strcpy
+libkml-java: hardening-no-fortify-functions usr/lib/*/jni/libkmldom_swig_java.so
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libkml.git
More information about the Pkg-grass-devel
mailing list