glibc: Note the sed for printf is a security fix

And add a comment about the difference from upstream commit.
This commit is contained in:
Xi Ruoyao 2023-02-06 23:58:03 +08:00
parent df6b08de57
commit f405318419
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -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>