BUG #11127: Memory leak in libpq
От | nick@vyalceva.net |
---|---|
Тема | BUG #11127: Memory leak in libpq |
Дата | |
Msg-id | 20140805144652.2707.31328@wrigleys.postgresql.org обсуждение исходный текст |
Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 11127 Logged by: Nikolay Email address: nick@vyalceva.net PostgreSQL version: 9.3.5 Operating system: Linux (Ubuntu 14.04) Description: In case of using SSL authentification via certificates and MD5 authentification without SSL there is a memory leak in libpq library. My pg_hba.conf configuration: hostnossl all all 0.0.0.0/0 md5 hostssl all all 0.0.0.0/0 cert valgrind reports such errors in any application using psql (if sslmode is set to "prefer", that is by default): ==12937== 4,496 (400 direct, 4,096 indirect) bytes in 2 blocks are definitely lost in loss record 13,275 of 13,418 ==12937== at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12937== by 0x6EDA71C: PQmakeEmptyPGresult (fe-exec.c:144) ==12937== by 0x6EE3C12: pqGetErrorNotice3 (fe-protocol3.c:826) ==12937== by 0x6ED853D: PQconnectPoll (fe-connect.c:2304) ==12937== by 0x6ED8B8D: connectDBComplete (fe-connect.c:1521) ==12937== by 0x6ED9496: PQconnectdb (fe-connect.c:516) ==12937== by 0x4C6D41: ??? (in /usr/bin/pgadmin3) ==12937== by 0x4C7945: ??? (in /usr/bin/pgadmin3) ==12937== by 0x7DE7C1: ??? (in /usr/bin/pgadmin3) ==12937== by 0x76770B: ??? (in /usr/bin/pgadmin3) ==12937== by 0x767AF3: ??? (in /usr/bin/pgadmin3) ==12937== by 0x7B3781: ??? (in /usr/bin/pgadmin3)
В списке pgsql-bugs по дате отправления: