From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org> |
Cc: | "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de> |
Subject: | Re: Problem with autocomplete |
Date: | 2006-06-19 10:38:50 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCEA0FA43@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
Attachment | Content-Type | Size |
---|---|---|
tab.patch | application/octet-stream | 704 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | svn | 2006-06-19 11:07:10 | 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 |
Previous Message | svn | 2006-06-19 10:23:09 | SVN Commit by dpage: r5230 - trunk/pgadmin3 |