Re: [sqlsmith] Crash on GUC serialization - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [sqlsmith] Crash on GUC serialization
Date
Msg-id 2655.1479576672@sss.pgh.pa.us
Whole thread Raw
In response to [sqlsmith] Crash on GUC serialization  (Andreas Seltenreich <seltenreich@gmx.de>)
Responses Re: [sqlsmith] Crash on GUC serialization  (Michael Paquier <michael.paquier@gmail.com>)
Re: [sqlsmith] Crash on GUC serialization  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Andreas Seltenreich <seltenreich@gmx.de> writes:
> sqlsmith just made a GUC that tricks the serialization code into
> dereferencing a nullpointer.  Here's a recipe:

Thanks for the report!  Looks like the serialization code has overlooked
the fact that string-valued GUCs can be NULL.  Surprising we didn't
find that before ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Joshua Drake
Date:
Subject: Re: Mail thread references in commits
Next
From: Stephen Frost
Date:
Subject: Re: pg_dump -s -b