[Bug 219154] [PATCH] buffer overflows in realpath(3)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 219154] [PATCH] buffer overflows in realpath(3)

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219154

--- Comment #8 from [hidden email] ---
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=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 <[hidden email]>
  PR:   219154
  MFC after:    2 weeks

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

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[hidden email]"