Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 toggleShowQuery => segfault

open
nobody
None
5
2006-12-18
2006-12-18
Ken Lalonde
No

Configuration: pyPgSQL-2.5.1, python 2.5, freebsd 6.0.

Use of the magic toggleShowQuery attribute causes a
seg fault in strlen(). This is caused by messed up reference counts. The attached patch fixes the problem.

Discussion

  • Ken Lalonde
    Ken Lalonde
    2006-12-18

    Patch to 2.5.1 pgconnection.c

     
    Attachments