From b0b12fa8d609be40d8527f33ac08b84bdf219796 Mon Sep 17 00:00:00 2001 From: Ag Hatzimanikas Date: Tue, 30 Mar 2010 18:32:43 +0000 Subject: [PATCH] Fixed a buffer-overflow bug in S-Lang git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8368 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general/prog/slang.xml | 6 +++++- introduction/welcome/changelog.xml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/general/prog/slang.xml b/general/prog/slang.xml index 1e8203ce09..bb39fd2c5e 100644 --- a/general/prog/slang.xml +++ b/general/prog/slang.xml @@ -76,7 +76,8 @@ Install S-Lang by running the following commands: -./configure --prefix=/usr --sysconfdir=/etc && +sed -i 's/<=/</' src/slagetput.inc && +./configure --prefix=/usr --sysconfdir=/etc && make To test the results, issue: make check. Note that @@ -95,6 +96,9 @@ chmod -v 755 /usr/lib/libslang.so.&slang-version; \ Command Explanations + + sed -i 's/<=/</' src/slagetput.inc;: + This sed fixes a buffer-overflow bug. make install_doc_dir=/usr/share/doc/slang-&slang-version; SLSH_DOC_DIR=/usr/share/doc/slang-&slang-version;/slsh install-all: diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 86e0e1d9ca..ab067f2727 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,10 @@ March 30th, 2010 + + [ag] - Fixed with a sed a buffer overflow bug in S-Lang. + + [randy] - Updated to Apache HTTPD-2.2.15.