diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-02-06 23:58:03 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-02-06 23:59:26 +0800 |
commit | f405318419aa461f103891a429da1c0ea5e591e3 (patch) | |
tree | e8a0eb4beba5bb96fc28cbcca3d903a0464e1574 | |
parent | df6b08de578a9893ef7f6c88514de4a8eef1ebfa (diff) |
glibc: Note the sed for printf is a security fix
And add a comment about the difference from upstream commit.
-rw-r--r-- | chapter08/glibc.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index ec81b2da7..ff655a89e 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -50,8 +50,12 @@ <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> - <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=30068 --> - <para>Fix an issue identified upstream:</para> + <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=30068 + Upstream fix also added a test case and renamed "prec" to + "prec_inc". We'll test this with MPFR test suite so we don't + need the test here, and the renaming does not affect program + behavior. --> + <para>Fix a security issue identified upstream:</para> <screen><userinput remap="pre">sed '/width -=/s/workend - string/number_length/' \ -i stdio-common/vfprintf-process-arg.c</userinput></screen> |