Re: Potential use of uninitialized context in pgcrypto
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-10-16T15:47:21Z
Lists: pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes: > Even though we know that the digest algorithm exists when we reach the second > call, we must check the returnvalue from each call to px_find_digest to handle > allocation errors. Agreed, it's a bug. Will push in a bit. regards, tom lane
Commits
-
Add missing error check in pgcrypto/crypt-md5.c.
- 9c3032881e00 9.5.24 landed
- e15115b4d204 9.6.20 landed
- 3e1a4c260ef2 10.15 landed
- 1eb2d7e3ea8e 11.10 landed
- 7004ce75897e 12.5 landed
- 3d338a46a4c3 13.1 landed
- 02a75f8369b1 14.0 landed