]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
apr: Merge r1889604, r1807975 from trunk:
authorJoe Orton <jorton@apache.org>
Fri, 2 Jul 2021 11:10:33 +0000 (11:10 +0000)
committerEd Maste <emaste@FreeBSD.org>
Wed, 15 Sep 2021 01:42:23 +0000 (21:42 -0400)
commitfbdf5e82a0afc98e14ebb58f4cc8c1c0655b1316
tree5a7676459abebb69179227e8d7599ab2a52da9e9
parentab96b52907d0842ed1abef5ead1ddc40d67ebf80
apr: Merge r1889604, r1807975 from trunk:

* random/unix/sha2.c (apr__SHA256_Final, apr__SHA256_End): Fix parameter
  buffer lengths to match declaration, avoiding GCC 11 warning.
  (no functional change)

Bounds-check human-readable date fields (credit: Stefan Sperling)

Submitted by: jorton, niq
Reviewed by: jorton

git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1891198 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit fc1b69d0311e50ed05c00c46ad7dd5d560e57cb6)
contrib/apr/random/unix/sha2.c
contrib/apr/time/unix/time.c