From f405318419aa461f103891a429da1c0ea5e591e3 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 6 Feb 2023 23:58:03 +0800 Subject: [PATCH] glibc: Note the sed for printf is a security fix And add a comment about the difference from upstream commit. --- chapter08/glibc.xml | 8 ++++++-- 1 file 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 @@ patch -Np1 -i ../&glibc-fhs-patch; - - Fix an issue identified upstream: + + Fix a security issue identified upstream: sed '/width -=/s/workend - string/number_length/' \ -i stdio-common/vfprintf-process-arg.c