postgresql/src/interfaces
Tom Lane 8d0df2048f Fix write-past-buffer-end in ldapServiceLookup().
The code to assemble ldap_get_values_len's output into a single string
wrote the terminating null one byte past where it should.  Fix that,
and make some other cosmetic adjustments to make the code a trifle more
readable and more in line with usual Postgres coding style.

Also, free the "result" string when done with it, to avoid a permanent
memory leak.

Bug report and patch by Albe Laurenz, cosmetic adjustments by me.
2011-05-12 11:56:38 -04:00
..
ecpg Prevent datebsearch() from crashing on base == NULL && nel == 0. 2011-05-10 20:37:26 -04:00
libpq Fix write-past-buffer-end in ldapServiceLookup(). 2011-05-12 11:56:38 -04:00
Makefile Fix parallel make when running make install before make all 2011-03-08 23:52:29 +02:00