Re: BUG #13490: Segmentation fault on pg_stat_activity
| От | Michael Bommarito |
|---|---|
| Тема | Re: BUG #13490: Segmentation fault on pg_stat_activity |
| Дата | |
| Msg-id | CAN=rtBi-Nqv5RzcLCRvQ3HU5OYED6niEmg5JsvG=qONxgEqeSQ@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: BUG #13490: Segmentation fault on pg_stat_activity (Michael Paquier <michael.paquier@gmail.com>) |
| Список | 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.paquier@gmail.com> wrote: > On Mon, Jul 13, 2015 at 10:43 PM, Michael Bommarito > <michael@bommaritollc.com> wrote: > > (gdb) bt > > #0 get_tle_by_resno (tlist=0x7fd0d5da27c0, resno=resno@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 >
В списке pgsql-bugs по дате отправления: