From 8ff5e0ec497613e578219c9c3d49053c550b9269 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Fri, 14 Aug 2015 09:21:44 -0400 Subject: stpncpy: fix size checking [BZ #18975] I think the last clause of the conditional, || __n <= __bos (__dest) may be backward. The code should call the runtime-checking function if __n is not constant, or if __n is known to be LARGER than the size of the destination. --- NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 088969c3b8..fbbcddb1dd 100644 --- a/NEWS +++ b/NEWS @@ -10,8 +10,8 @@ Version 2.23 * The following bugs are resolved with this release: 16517, 16519, 16520, 16734, 17905, 18086, 18265, 18480, 18525, 18618, - 18647, 18661, 18674, 18778, 18781, 18787, 18789, 18790, 18820, 18824. - + 18647, 18661, 18674, 18778, 18781, 18787, 18789, 18790, 18820, 18824, + 18975. Version 2.22 -- cgit 1.4.1