1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +03:00
Files
postgres/contrib/pgcrypto
Tom Lane 9c3032881e 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:52 -04:00
..
2011-04-25 22:27:11 +03:00
2010-09-20 22:08:53 +02:00
2010-09-20 22:08:53 +02:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2016-09-15 14:51:42 +03:00
2017-02-06 11:34:18 +02:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2016-09-15 22:38:01 +03:00
2016-09-15 14:51:42 +03:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2019-01-23 13:46:51 +02:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2017-02-06 11:34:18 +02:00
2017-02-06 11:34:18 +02:00
2014-05-06 12:12:18 -04:00
2015-05-23 21:35:49 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2016-09-15 14:51:42 +03:00
2014-05-06 12:12:18 -04:00
2015-05-23 21:35:49 -04:00
2016-09-15 14:51:42 +03:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2016-08-09 19:08:10 -04:00
2016-09-15 14:51:42 +03:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00