<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/glibc.git/posix, branch maskray/grte-old</title>
<subtitle>sourceware.org: git/glibc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/'/>
<entry>
<title>wordexp: handle overflow in positional parameter number (bug 28011)</title>
<updated>2021-07-23T17:08:25+00:00</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@linux-m68k.org</email>
</author>
<published>2021-06-25T13:02:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=68adde5e324866d1c94a097118c2a3cba13ba96c'/>
<id>68adde5e324866d1c94a097118c2a3cba13ba96c</id>
<content type='text'>
Use strtoul instead of atoi so that overflow can be detected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use strtoul instead of atoi so that overflow can be detected.
</pre>
</div>
</content>
</entry>
<entry>
<title>posix: Sync gnulib regex implementation</title>
<updated>2021-07-22T21:08:33+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2017-12-20T11:47:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=422709b0a145747ff1cc28893f864a500f0138da'/>
<id>422709b0a145747ff1cc28893f864a500f0138da</id>
<content type='text'>
This patch syncs the regex implementation with gnulib (commit 0ee5212).
Only two changes in GLIBC regex testing are required:

  1. posix/bug-regex28.c: as previously discussed [1] the change of
     expected results on the pattern should be safe.

  2. posix/PCRE.tests: the ERE (a)|\1 is malformed (in the sense that
     the \1 doesn't mean anything) and although current GLIBC accepts
     it has undefined behavior.  This patch removes the specific test.

This sync contains some patches from thread 'Regex: Make libc regex
more usable outside GLIBC.' [2] which have been pushed upstream in
gnulib.  This patches also fixes some regex issues (BZ #23233,
BZ #21163, BZ #18986, BZ #13762) and I did not add testcases for
both #23233 and #13762 because I couldn't think a simple way to
trigger the expected failure path to trigger them.

Checked on x86_64-linux-gnu and i686-linux-gnu.

	[BZ #23233]
	[BZ #21163]
	[BZ #18986]
	[BZ #13762]
	* posix/Makefile (tests): Add bug-regex37 and bug-regex38.
	* posix/PCRE.tests: Remove invalid test.
	* posix/bug-regex28.c: Fix expected values for used syntax.
	* posix/bug-regex37.c: New file.
	* posix/bug-regex38.c: Likewise.
	* posix/regcomp.c: Sync with gnulib.
	* posix/regex.c: Likewise.
	* posix/regex.h: Likewise.
	* posix/regex_internal.c: Likewise.
	* posix/regex_internal.h: Likewise.
	* posix/regexec.c: Likewise.

[1] https://sourceware.org/ml/libc-alpha/2017-12/msg00807.html
[2] https://sourceware.org/ml/libc-alpha/2017-12/msg00237.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch syncs the regex implementation with gnulib (commit 0ee5212).
Only two changes in GLIBC regex testing are required:

  1. posix/bug-regex28.c: as previously discussed [1] the change of
     expected results on the pattern should be safe.

  2. posix/PCRE.tests: the ERE (a)|\1 is malformed (in the sense that
     the \1 doesn't mean anything) and although current GLIBC accepts
     it has undefined behavior.  This patch removes the specific test.

This sync contains some patches from thread 'Regex: Make libc regex
more usable outside GLIBC.' [2] which have been pushed upstream in
gnulib.  This patches also fixes some regex issues (BZ #23233,
BZ #21163, BZ #18986, BZ #13762) and I did not add testcases for
both #23233 and #13762 because I couldn't think a simple way to
trigger the expected failure path to trigger them.

Checked on x86_64-linux-gnu and i686-linux-gnu.

	[BZ #23233]
	[BZ #21163]
	[BZ #18986]
	[BZ #13762]
	* posix/Makefile (tests): Add bug-regex37 and bug-regex38.
	* posix/PCRE.tests: Remove invalid test.
	* posix/bug-regex28.c: Fix expected values for used syntax.
	* posix/bug-regex37.c: New file.
	* posix/bug-regex38.c: Likewise.
	* posix/regcomp.c: Sync with gnulib.
	* posix/regex.c: Likewise.
	* posix/regex.h: Likewise.
	* posix/regex_internal.c: Likewise.
	* posix/regex_internal.h: Likewise.
	* posix/regexec.c: Likewise.

[1] https://sourceware.org/ml/libc-alpha/2017-12/msg00807.html
[2] https://sourceware.org/ml/libc-alpha/2017-12/msg00237.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix use-after-free in glob when expanding ~user (bug 25414)</title>
<updated>2021-07-22T20:09:57+00:00</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@suse.de</email>
</author>
<published>2020-02-19T16:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=1ebb784472433f069e4c735efbbd738860e55bd0'/>
<id>1ebb784472433f069e4c735efbbd738860e55bd0</id>
<content type='text'>
The value of `end_name' points into the value of `dirname', thus don't
deallocate the latter before the last use of the former.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value of `end_name' points into the value of `dirname', thus don't
deallocate the latter before the last use of the former.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Comment out second appearances of symbols in version scripts, lld errors out instead of just warning"</title>
<updated>2019-10-22T17:46:06+00:00</updated>
<author>
<name>Shu-Chun Weng</name>
<email>scw@google.com</email>
</author>
<published>2019-10-22T17:45:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=403fd5aa86bd03cc6fd3abeb7fa12a245eb0c721'/>
<id>403fd5aa86bd03cc6fd3abeb7fa12a245eb0c721</id>
<content type='text'>
This reverts commit 0eee22b49ee34d852e79c6b65598b72f504ccebd.

It appears lld no longer throws an error with these duplicated symbols.

Signed-off-by: Shu-Chun Weng &lt;scw@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 0eee22b49ee34d852e79c6b65598b72f504ccebd.

It appears lld no longer throws an error with these duplicated symbols.

Signed-off-by: Shu-Chun Weng &lt;scw@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[BZ #19239] Don't include sys/sysmacros.h from sys/types.h.</title>
<updated>2019-02-27T22:46:36+00:00</updated>
<author>
<name>Zack Weinberg</name>
<email>zackw@panix.com</email>
</author>
<published>2018-02-07T20:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=13822f18a7e3ec070544f0e673b640ba0e2a76d7'/>
<id>13822f18a7e3ec070544f0e673b640ba0e2a76d7</id>
<content type='text'>
This completes the deprecation and removal of this inclusion, which
was begun in the 2.25 release.

	* posix/sys/types.h: Don't include sys/sysmacros.h.
	* misc/sys/sysmacros.h: Remove the conditional deprecation
	warnings for the macros defined by this header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This completes the deprecation and removal of this inclusion, which
was begun in the 2.25 release.

	* posix/sys/types.h: Don't include sys/sysmacros.h.
	* misc/sys/sysmacros.h: Remove the conditional deprecation
	warnings for the macros defined by this header.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix multiple definitions of __nss_*_database (bug 22918)</title>
<updated>2018-05-31T18:39:12+00:00</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@linux-m68k.org</email>
</author>
<published>2018-03-02T22:07:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=de736b2c5b3658049a4b78a34441b915431c0993'/>
<id>de736b2c5b3658049a4b78a34441b915431c0993</id>
<content type='text'>
(cherry picked from commit eaf6753f8aac33a36deb98c1031d1bad7b593d2d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit eaf6753f8aac33a36deb98c1031d1bad7b593d2d)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix posix/tst-glob_lstat_compat on alpha [BZ #22818]</title>
<updated>2018-05-31T18:39:12+00:00</updated>
<author>
<name>Aurelien Jarno</name>
<email>aurelien@aurel32.net</email>
</author>
<published>2018-02-18T17:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=e633191c3faa6505ba540a530ceedc72d8742f5d'/>
<id>e633191c3faa6505ba540a530ceedc72d8742f5d</id>
<content type='text'>
The tst-glob_lstat_compat test needs to run tests on the previous
version of glob. On alpha, there are three versions of glob, GLIBC_2.0,
GLIBC_2.1 and GLIBC_2.27, while on other architectures there are only
the GLIBC_2.0 and GLIBC_2.27 version. Therefore on alpha the previous
version is GLIBC_2.1 and not GLIBC_2.0.

Changelog:
	[BZ #22818]
	* posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
	the GLIBC_2.1 version.

(cherry picked from commit f8d79582896c52cc2b50bdd030a3ec27ef23b587)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tst-glob_lstat_compat test needs to run tests on the previous
version of glob. On alpha, there are three versions of glob, GLIBC_2.0,
GLIBC_2.1 and GLIBC_2.27, while on other architectures there are only
the GLIBC_2.0 and GLIBC_2.27 version. Therefore on alpha the previous
version is GLIBC_2.1 and not GLIBC_2.0.

Changelog:
	[BZ #22818]
	* posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
	the GLIBC_2.1 version.

(cherry picked from commit f8d79582896c52cc2b50bdd030a3ec27ef23b587)
</pre>
</div>
</content>
</entry>
<entry>
<title>Comment out second appearances of symbols in version scripts, lld errors out instead of just warning</title>
<updated>2018-03-12T15:49:55+00:00</updated>
<author>
<name>Stan Shebs</name>
<email>stanshebs@google.com</email>
</author>
<published>2018-03-12T15:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=0eee22b49ee34d852e79c6b65598b72f504ccebd'/>
<id>0eee22b49ee34d852e79c6b65598b72f504ccebd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>De-nest regcomp.c, suppress GCC warnings about it</title>
<updated>2018-01-25T00:03:39+00:00</updated>
<author>
<name>Stan Shebs</name>
<email>stanshebs@google.com</email>
</author>
<published>2018-01-19T17:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=1162eadb4082a9673f30945c18326f51d4be66fa'/>
<id>1162eadb4082a9673f30945c18326f51d4be66fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: Fix posix glob test</title>
<updated>2018-01-06T21:19:13+00:00</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2018-01-06T21:19:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/glibc.git/commit/?id=01c7e549b2b978e69d6509864d4d067c555cb81b'/>
<id>01c7e549b2b978e69d6509864d4d067c555cb81b</id>
<content type='text'>
	* posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
</pre>
</div>
</content>
</entry>
</feed>
