Fix handling of NULL return value in typarray lookup Commit 6ebeeae29 accidentally omitted testing the return value from findTypeByOid which can return NULL. Fix by adding a check to make sure that we have a pointer to dereference.
Author: Ranier Vilela <ranier...@gmail.com> Reviewed-by: Nathan Bossart <nathandboss...@gmail.com> Reviewed-by: Daniel Gustafsson <dan...@yesql.se> Discussion: https://postgr.es/m/CAEudQAqfMTH8Ya_J6E-NW_y_JyDFDxtQ4V_g6nY_1=0odbq...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/85837b8037ada19d319fa4d3ba99c72205868199 Modified Files -------------- src/bin/pg_dump/pg_dump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)