Re: NetBSD mac68k crashing on union regression test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: NetBSD mac68k crashing on union regression test
Date
Msg-id 7338.1113251501@sss.pgh.pa.us
Whole thread Raw
In response to NetBSD mac68k crashing on union regression test  (Rémi Zara <remi_zara@mac.com>)
Responses Re: NetBSD mac68k crashing on union regression test  (Rémi Zara <remi_zara@mac.com>)
List pgsql-hackers
Rémi Zara <remi_zara@mac.com> writes:
> The crash occurs in pg_sprintf,  work on which has been done beginning
> march 11th....

Offhand I'd bet it's overrunning its malloc'd arrays because the loop at
the top doesn't count "*" as needing a fmtpos position.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: probably needless linking against readline and ncurses
Next
From: Thomas F.O'Connell
Date:
Subject: Re: [PATCHES] DELETE ... USING