Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c)
От
Ranier Vilela
Тема
Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c)
Дата
Msg-id
CAEudQAp90GsR2CK9BJcimj9E9Jw9bgm=-Tv3Bea3Co+1XSBkPw@mail.gmail.com
Список
Дерево обсуждения
Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Stephen Frost <sfrost@snowman.net>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Stephen Frost <sfrost@snowman.net>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Tom Lane <tgl@sss.pgh.pa.us>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Tom Lane <tgl@sss.pgh.pa.us>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) "David G. Johnston" <david.g.johnston@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) "David G. Johnston" <david.g.johnston@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) "David G. Johnston" <david.g.johnston@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Tom Lane <tgl@sss.pgh.pa.us>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Peter Geoghegan <pg@bowt.ie>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Ranier Vilela <ranier.vf@gmail.com>
Re: Possible NULL dereferencing null pointer (src/backend/executor/nodeIncrementalSort.c) Peter Geoghegan <pg@bowt.ie>
I think that TupIsNull macro is no longer appropriate, to protect
ExecCopySlot.
See at tuptable.h:
#define TupIsNull(slot) \
((slot) == NULL || TTS_EMPTY(slot))
((slot) == NULL || TTS_EMPTY(slot))
If var node->group_pivot is NULL, ExecCopySlot will
dereference a null pointer (first arg).
Maybe, this can be related to a bug reported in the btree deduplication.
regards,
Ranier Vilela
В списке pgsql-hackers по дате отправления