SVNews r318450

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-05-18 13:49:53 - r318450 by kib (Konstantin Belousov)

Complete list of files affected by revision r318450:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/lib/libc/tests/gen/Makefile  
  History   Contents     ADD   /head/lib/libc/tests/gen/realpath2_test.c  

Commit message:

Add tests for some cases in r318298.

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 <jan.kokemueller@gmail.com>
PR: 219154
MFC after: 2 weeks

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 17 ms, 2 files printed. Current time is 2017-12-17 05:56:00. All times are in UTC/GMT.