diff options
author | Peter Eisentraut | 2019-11-04 07:30:00 +0000 |
---|---|---|
committer | Peter Eisentraut | 2019-11-04 08:08:15 +0000 |
commit | 8557a6f10ca6f01f4b2f2f25e197292f3f46bb5c (patch) | |
tree | 6c6ee9092623cc14fac391eafdfbb4edd5b6cf48 /src/backend/access/gist/gistutil.c | |
parent | db27b60f07a039e236738fe90bd4215cafd35cf2 (diff) |
Catch invalid typlens in a couple of places
Rearrange the logic in record_image_cmp() and datum_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 <[email protected]>
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions