BUG #13980: UNINITIALIZED READ

From: ranier_gyn(at)hotmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13980: UNINITIALIZED READ
Date: 2016-02-23 13:37:52
Message-ID: 20160223133752.8549.7630@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13980
Logged by: Ranier Vilela
Email address: ranier_gyn(at)hotmail(dot)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?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message ranier_gyn 2016-02-23 14:33:37 BUG #13981: Possible HANDLE LEAK
Previous Message Robert Haas 2016-02-23 13:31:00 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby