1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00
Files
postgres/src
Tom Lane a7d3110638 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:57:26 -04:00
..
2011-04-15 00:19:01 -03:00
2011-04-15 00:19:01 -03:00
2006-09-27 16:19:42 +00:00
2006-07-10 15:50:02 +00:00
2006-08-08 22:44:05 +00:00