postgres/src
Tatsuo Ishii 2273fa32bc Fix Coverity issues reported in commit 25a30bbd42.
Fix several issues pointed out by Coverity (reported by Tome Lane).

- In row_is_in_frame(), return value of window_gettupleslot() was not
  checked.

- WinGetFuncArgInPartition() tried to derefference "isout" pointer
  even if it could be NULL in some places.

Besides the issues, I also fixed a compiler warning reported by Álvaro
Herrera.

Moreover, in WinGetFuncArgInPartition refactor the do...while loop so
that the codes inside the loop simpler. Also simplify the case when
abs_pos < 0.

Author: Tatsuo Ishii <ishii@postgresql.org>
Reviewed-by: Paul Ramsey <pramsey@cleverelephant.ca>
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/1686755.1759679957%40sss.pgh.pa.us
Discussion: https://postgr.es/m/202510051612.gw67jlc2iqpw%40alvherre.pgsql
2025-10-08 09:26:49 +09:00
..
backend Fix Coverity issues reported in commit 25a30bbd42. 2025-10-08 09:26:49 +09:00
bin Adjust new TAP test to work on macOS. 2025-10-07 11:47:27 -04:00
common Fix compiler warnings around _CRT_glob 2025-10-01 17:13:52 +02:00
fe_utils Improve psql's ability to select pager mode accurately. 2025-10-07 10:57:56 -04:00
include Cleanup INFINITY code in float.h 2025-10-08 12:07:17 +13:00
interfaces Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c. 2025-10-05 16:27:47 -04:00
makefiles Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
pl Make some use of anonymous unions [plpython] 2025-09-30 12:35:50 +02:00
port Use strchr instead of strstr for single-char lookups 2025-07-23 12:02:55 +12:00
template Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
test Assign each subquery a unique name prior to planning it. 2025-10-07 09:18:54 -04:00
timezone Generate GUC tables from .dat file 2025-09-03 09:45:17 +02:00
tools Refactor to avoid code duplication in transformPLAssignStmt. 2025-09-27 17:17:51 -04:00
tutorial Fix compile of src/tutorial/funcs.c 2025-10-07 10:45:57 +02:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
Makefile.shlib Use exported symbols list on macOS for loadable modules as well 2025-06-10 07:04:43 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk