From: Raymond Toy <toy@rtp.ericsson.se>

Marc G. Fournier <scrappy@hub.org>

Commit: 8834795ebf68f0518f6498043e1c7f2abe81f8ec
Author: Marc G. Fournier <scrappy@hub.org>
Date: 1997-04-17T20:38:26Z
Releases: 7.1.1
From: Raymond Toy <toy@rtp.ericsson.se>
Subject: [PATCHES] 970417:  two more patches for large objects

Here are two more patches:

        1.  pg_getint doesn't properly set the status flag when
            calling pqGetShort or pqGetLong.  This is required when
            accessing large objects via libpq.  This, combined with
            problem 1 above causes postgres to crash when postgres
            tries to print out the message that the status was not
            good.

        2.  ExceptionalCondition crashes when called with detail =
            NULL.  This patch prevents dereferencing the NULL.

Files

PathChange+/−
src/backend/libpq/pqcomm.c modified +3 −3
src/backend/utils/error/assert.c modified +2 −2