[Patch] First buffer overflow fixes - Mailing list pgsql-odbc

From Peter Eisentraut
Subject [Patch] First buffer overflow fixes
Date
Msg-id 200407090058.06999.peter_e@gmx.net
Whole thread Raw
Responses Re: [Patch] First buffer overflow fixes
List pgsql-odbc
Here's a small round of fixes for buffer overflows.  They are related to
the recent security announcement, namely that the make_string()
function doesn't check the size of the buffer.  The solution is mainly
based on the patch proposed by Martin Pitt at that time, namely to pass
the size of the buffer, but I'm leaning more in favor of dynamically
allocating buffers rather than using fixed-size arrays, so I used that
approach where possible.

Please inspect.  If no one objects I'll install this patch in a few
days.


pgsql-odbc by date:

Previous
From: Mark Slagell
Date:
Subject: Re: psqlodbc versioning
Next
From: Khushboo Kanjani
Date:
Subject: odbc driver