diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2019-11-04 08:30:00 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2019-11-04 09:20:33 +0100 |
commit | 0782050bc22d4d428c3cffe0d0a7ecee29d2f5fe (patch) | |
tree | d93bcc00114a7e49b3c6a81586797e1a11428091 /src/tutorial/funcs_new.c | |
parent | 88d03d73c22440763dbe85378fdda8389db78b0d (diff) |
Catch invalid typlens in a couple of places
Rearrange the logic in record_image_cmp() and record_image_eq() to
error out on unexpected typlens (either not supported there or
completely invalid due to corruption). Barring corruption, this is
not possible today but it seems more future-proof and robust to fix
this.
Reported-by: Peter Geoghegan <pg@bowt.ie>
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions