forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit85837b8
committed
Fix handling of NULL return value in typarray lookup
Commit6ebeeae accidentally omitted testing the return value fromfindTypeByOid which can return NULL. Fix by adding a check to makesure that we have a pointer to dereference.Author: Ranier Vilela <ranier.vf@gmail.com>Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/CAEudQAqfMTH8Ya_J6E-NW_y_JyDFDxtQ4V_g6nY_1=0oDbQqdg@mail.gmail.com1 parent4af123a commit85837b8
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5420 | 5420 | | |
5421 | 5421 | | |
5422 | 5422 | | |
5423 | | - | |
| 5423 | + | |
| 5424 | + | |
| 5425 | + | |
| 5426 | + | |
5424 | 5427 | | |
5425 | 5428 | | |
5426 | 5429 | | |
| |||
0 commit comments
Comments
(0)