Re: Problem with autocomplete

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Problem with autocomplete
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FA43@algol.sollentuna.se
обсуждение исходный текст
Ответ на Problem with autocomplete  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: Problem with autocomplete
Список pgadmin-hackers
> When triggering autocomplete on spaces (e.g. empty query
> window), a memory damage will be triggered. If ignored, the
> full keyword listbox will popup.
> Happens with VC6, not gtk.

Apologies for the delay in dealing with this, been way too busy.
Attached is a fix. A buffer in _complete_from_list() wasn't allocaed
with enough space for the terminating NULL. I've fixed a similar issue
in complete_create_command - I wasn't able to trigger it, but anyway.

It really should hapen on gtk as well - most likely just luck that it
didn't corrupt anything needed.

//Magnus

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r5230 - trunk/pgadmin3
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r5231 - in trunk/pgadmin3: . docs/en_US src src/ctl src/dlg src/frm src/include src/include/ctl src/ui