BUG #13980: UNINITIALIZED READ - Mailing list pgsql-bugs

From ranier_gyn@hotmail.com
Subject BUG #13980: UNINITIALIZED READ
Date
Msg-id 20160223133752.8549.7630@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #13980: UNINITIALIZED READ
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13980
Logged by:          Ranier Vilela
Email address:      ranier_gyn@hotmail.com
PostgreSQL version: 9.5.0
Operating system:   Windows XP
Description:

Potential Error #1: UNINITIALIZED READ: reading 0x0012f3dc-0x0012f3e0 4
byte(s)
# 0 ADVAPI32.dll!RegDeleteValueW   +0xf5     (0x77f5eed6
<ADVAPI32.dll+0xeed6>)
# 1 WS2_32.dll!WSCEnumProtocols    +0xa63    (0x71a785c5
<WS2_32.dll+0x85c5>)
# 2 WS2_32.dll!WSCEnumProtocols    +0x9a1    (0x71a78503
<WS2_32.dll+0x8503>)
# 3 WS2_32.dll!WSCEnumProtocols    +0x839    (0x71a7839b
<WS2_32.dll+0x839b>)
# 4 WS2_32.dll!WSCEnumProtocols    +0x75b    (0x71a782bd
<WS2_32.dll+0x82bd>)
# 5 WS2_32.dll!WSCEnumProtocols    +0x43d    (0x71a77f9f
<WS2_32.dll+0x7f9f>)
# 6 WS2_32.dll!WSCEnumProtocols    +0x34d    (0x71a77eaf
<WS2_32.dll+0x7eaf>)
# 7 LIBPQ.dll!PQpingParams         +0x1174   (0x00ad6ed5
<LIBPQ.dll+0x6ed5>)
# 8 LIBPQ.dll!PQconnectdb          +0x8      (0x00ad5069
<LIBPQ.dll+0x5069>)
# 9 dbd_pgsql_open
[c:\usr\src\dbd\postgresql\dbd_pgsql.c:190]
#10 dbd_init                        [c:\usr\src\dbd\dbd.c:81]
#11 sr_app_data_setup               [c:\usr\src\sirius\app\app_dbd.c:241]
#12 main                            [c:\usr\src\rcpdv\app.c:140]
Note: @0:00:04.953 in thread 2700
Note: instruction: cmp    %ecx (%eax)

References:
https://blogs.msdn.microsoft.com/oldnewthing/20040824-00/?p=38063

WCHAR length bug?

pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: BUG #13979: Strange pg_stat_statements results with PREPARE/EXECUTE
Next
From: ranier_gyn@hotmail.com
Date:
Subject: BUG #13981: Possible HANDLE LEAK