[SCM] CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences branch, debian-patches/2006.dfsg.2-15, updated. upstream/2006.dfsg.2-15-g2caca62
Lifeng Sun
lifongsun at gmail.com
Fri Mar 18 08:38:45 UTC 2011
The following commit has been merged in the debian-patches/2006.dfsg.2-15 branch:
commit 2caca62c2aca7c5ab61ab54e029f009dbf99d2fb
Author: Lifeng Sun <lifongsun at gmail.com>
Date: Fri Mar 18 13:39:50 2011 +0800
Fix a potentially security issue.
Might caused by unset or empty LD_LIBRARY_PATH.
diff --git a/debian/add-ons/cernlib.mk b/debian/add-ons/cernlib.mk
index 163b326..1e51fec 100644
--- a/debian/add-ons/cernlib.mk
+++ b/debian/add-ons/cernlib.mk
@@ -194,7 +194,11 @@ stampdir/cernlib-test-pass: stampdir/cernlib-arch-stamp
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
set -e ; \
if [ "$(ARCH)" = Linux ] ; then \
- export LD_LIBRARY_PATH="$(CERN_SHLIBDIR):$${LD_LIBRARY_PATH}" ;\
+ if [ -z "$$LD_LIBRARY_PATH" ] ; then \
+ export LD_LIBRARY_PATH="$(CERN_SHLIBDIR)" ; \
+ else \
+ export LD_LIBRARY_PATH="$(CERN_SHLIBDIR):$${LD_LIBRARY_PATH}" ;\
+ fi ; \
fi ; \
for package in $(TEST_PACKAGES); do \
if [ -d $(CVSCOSRC)/$$package ] ; then \
--
CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences
More information about the debian-science-commits
mailing list