Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 13:50:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-security@FreeBSD.org
Subject:   [Bug 219154] [PATCH] buffer overflows in realpath(3)
Message-ID:  <bug-219154-5710-pjjjyrTWpY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219154-5710@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219154-5710@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219154

--- Comment #8 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kib
Date: Thu May 18 13:49:53 UTC 2017
New revision: 318450
URL: https://svnweb.freebsd.org/changeset/base/318450

Log:
  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=3Daddress'.

  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

Changes:
  head/lib/libc/tests/gen/Makefile
  head/lib/libc/tests/gen/realpath2_test.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219154-5710-pjjjyrTWpY>