summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128/e_jnl.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2018-05-08 18:12:41 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2018-05-08 18:12:41 -0700
commit5460617d1567657621107d895ee2dd83bc1f88f2 (patch)
tree478c1a918b575f667e34721dd6b1232b59b52554 /sysdeps/ieee754/ldbl-128/e_jnl.c
parentaaee3cd88ed58f332f261021d78d071db6265e85 (diff)
downloadglibc-5460617d1567657621107d895ee2dd83bc1f88f2.tar.gz
glibc-5460617d1567657621107d895ee2dd83bc1f88f2.tar.xz
glibc-5460617d1567657621107d895ee2dd83bc1f88f2.zip
Fix BZ 22786: integer addition overflow may cause stack buffer overflow
when realpath() input length is close to SSIZE_MAX.

2018-05-09  Paul Pluzhnikov  <ppluzhnikov@google.com>

	[BZ #22786]
	* stdlib/canonicalize.c (__realpath): Fix overflow in path length
	computation.
	* stdlib/Makefile (test-bz22786): New test.
	* stdlib/test-bz22786.c: New test.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/e_jnl.c')
0 files changed, 0 insertions, 0 deletions