<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libc/tests/gen/realpath2_test.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2017-05-18T13:49:53Z</updated>
<entry>
<title>Add tests for some cases in r318298.</title>
<updated>2017-05-18T13:49:53Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2017-05-18T13:49:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=fade31741ddd46cac640c2f053050ee60162734c'/>
<id>urn:sha1:fade31741ddd46cac640c2f053050ee60162734c</id>
<content type='text'>
The first test triggers the out of bounds read of the 'left' array. It
only fails when realpath.c is compiled with '-fsanitize=address'.

The other test checks for ENOENT when running into an empty
symlink. This matches NetBSD's realpath(3) semantics. Previously,
empty symlinks were treated like ".".

Submitted by:	Jan Kokemц╪ller &lt;jan.kokemueller@gmail.com&gt;
PR:	219154
MFC after:	2 weeks
</content>
</entry>
</feed>
