[lfs] 01/02: Add a sed to glibc-2.43 (Security update).

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

commit f3d6527e888d1e6d01bb78e75c9e8a60cf0f03bd
Author: Bruce Dubbs <[email protected]>
AuthorDate: Thu Mar 26 15:20:56 2026 -0500

    Add a sed to glibc-2.43 (Security update).
---
 chapter01/changelog.xml |  4 ++++
 chapter08/glibc.xml     | 10 ++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index af3dcb486..0e146fc9e 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,10 @@
     <listitem>
       <para>2026-03-26</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add a sed to glibc-2.43 (Security update). Fixes
+          <ulink url='&lfs-ticket-root;5895'>#5895</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[bdubbs] - Add a patch to Python-3.14.3 (Security update). Fixes
           <ulink url='&lfs-ticket-root;5896'>#5896</ulink>.</para>
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index 19e22c8c4..c0473ef51 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -42,11 +42,13 @@
 
   <sect2 role="installation">
     <title>Installation of Glibc</title>
-<!--
-    <para>First, apply some changes from upstream:</para>
 
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
--->
+    <para>First, apply a fix to DNS processing from upstream:</para>
+
+<screen><userinput remap="pre">sed -e '/while..ancount/c\  for (; ancount > 0; --ancount)'  \
+    -e '/binary_hnok..expected/s/expected_name/name_buffer/' \
+    -i resolv/nss_dns/dns-host.c</userinput></screen>
+
     <para>Some of the Glibc programs use the non-FHS compliant
     <filename class="directory">/var/db</filename> directory to store
     their runtime data. Apply the following patch to make such programs

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.