1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-19 23:22:23 +03:00
Files
postgres/contrib/pgcrypto
Tom Lane 3d338a46a4 Add missing error check in pgcrypto/crypt-md5.c.
In theory, the second px_find_digest call in px_crypt_md5 could fail
even though the first one succeeded, since resource allocation is
required.  Don't skip testing for a failure.  (If one did happen,
the likely result would be a crash rather than clean recovery from
an OOM failure.)

The code's been like this all along, so back-patch to all supported
branches.

Daniel Gustafsson

Discussion: https://postgr.es/m/AA8D6FE9-4AB2-41B4-98CB-AE64BA668C03@yesql.se
2020-10-16 11:59:25 -04:00
..
2010-09-20 22:08:53 +02:00
2010-09-20 22:08:53 +02:00
2019-07-01 10:00:23 +09:00
2017-06-21 15:35:54 -04:00
2020-01-01 12:21:45 -05:00
2019-05-22 12:55:34 -04:00
2019-11-28 16:48:37 -03:00
2019-05-22 13:04:48 -04:00
2019-02-14 17:00:25 +01:00
2017-06-21 15:19:25 -04:00
2016-09-30 14:04:16 -04:00
2019-05-22 13:04:48 -04:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00