summaryrefslogtreecommitdiffstats
path: root/tags/o/obsolete-crypt-alias.tag
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /tags/o/obsolete-crypt-alias.tag
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tags/o/obsolete-crypt-alias.tag')
-rw-r--r--tags/o/obsolete-crypt-alias.tag15
1 files changed, 15 insertions, 0 deletions
diff --git a/tags/o/obsolete-crypt-alias.tag b/tags/o/obsolete-crypt-alias.tag
new file mode 100644
index 0000000..26809ff
--- /dev/null
+++ b/tags/o/obsolete-crypt-alias.tag
@@ -0,0 +1,15 @@
+Tag: obsolete-crypt-alias
+Severity: error
+Check: binaries/obsolete/crypt
+Explanation: The listed ELF binary appears to use the C library function
+ <code>fcrypt</code>, which is a less-portable alias for <code>crypt</code>.
+ Programs that use this function cannot be linked against the
+ <code>libcrypt.so</code> provided by glibc 2.28 and higher.
+ .
+ The program should be changed to use <code>crypt</code> instead.
+ .
+ A false positive for this check is possible if the binary expects
+ the definition of <code>fcrypt</code> to come from some shared library
+ other than <code>libcrypt.so</code>, *and* that shared library
+ defines this function to do something other than hash passphrases.
+ If this is the case it is appropriate to override this tag.