sane/ledm.c: debug header is missing, so /usr/lib/sane/libsane-hpaio.so.1.0.0 U DBG x86_64: NEW bad_elf_symbols detected: hplip-sane-3.10.9-alt1.x86_64.rpm /usr/lib64/sane/libsane-hpaio.so.1.0.0 is referencing DBG as external symbol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
scan/sane/ledm.c does not include "sanei_debug.h"
as a result, compiled /usr/lib/
as an external symbol
i586: NEW bad_elf_symbols detected:
hplip-sane-
x86_64: NEW bad_elf_symbols detected:
hplip-sane-
It might crash the app if ledm protocol is used.
Proposed patch:
diff --git a/hplip/
index 4c053dd..fcea4fe 100644
--- a/hplip/
+++ b/hplip/
@@ -42,6 +42,7 @@
# include "sane.h"
# include "saneopts.h"
# include "io.h"
+# include "sanei_debug.h"
static struct ledm_session *session = NULL;
Changed in hplip: | |
status: | Fix Committed → Fix Released |
sorry, wrong patch added.
added the correct patch, with
+#define DEBUG_DECLARE_ONLY
+#include "sanei_debug.h"