From: | Michael Bommarito <michael(at)bommaritollc(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #13490: Segmentation fault on pg_stat_activity |
Date: | 2015-07-14 12:21:56 |
Message-ID: | CAN=rtBi-Nqv5RzcLCRvQ3HU5OYED6niEmg5JsvG=qONxgEqeSQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
If you can provide a patch that performs input validation in
get_tle_by_resno and logs the condition, I can compile and test with it.
Thanks,
Michael J. Bommarito II, CEO
Bommarito Consulting, LLC
*Web:* http://www.bommaritollc.com
*Mobile:* +1 (646) 450-3387
On Tue, Jul 14, 2015 at 3:33 AM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:
> On Mon, Jul 13, 2015 at 10:43 PM, Michael Bommarito
> <michael(at)bommaritollc(dot)com> wrote:
> > (gdb) bt
> > #0 get_tle_by_resno (tlist=0x7fd0d5da27c0, resno=resno(at)entry=6) at
> >
> /tmp/buildd/postgresql-9.5-9.5~alpha1/build/../src/backend/parser/parse_relation.c:2832
> > [...]
> > (gdb) info locals
> > tle = 0x0
> > l = 0x7fd0d5da2940
>
> So basically this is crashing because this tle is NULL, and
> get_tle_by_resno does not like that much when this item is extracted
> from the list. I am wondering what is breaking that.
> --
> Michael
>
From | Date | Subject | |
---|---|---|---|
Next Message | kou | 2015-07-14 12:37:22 | BUG #13500: Windows binary zip doesn't include libintl.h |
Previous Message | Jeevan Chalke | 2015-07-14 11:18:13 | Re: GSets: Fix bug involving GROUPING and HAVING together |