Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR

Поиск
Список
Период
Сортировка
От MauMau
Тема Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR
Дата
Msg-id 9C709659FE3C4B8DA7135C6F307B83F5@maumau
обсуждение исходный текст
Ответ на Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: [bug fix] postgres.exe fails to start on Windows Server 2012 due to ASLR  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
From: "Magnus Hagander" <magnus@hagander.net>
> Does somebody want to look at backpatching this to 9.1 and earlier, or
> should we just say that it's not fully supported on those Windows versions
> unless you apply the registry workaround?

Please use the attached patch.  It applies cleanly to both 9.1 and 9.0.

We don't need to consider 8.4, because ASLR became enabled by default in
Visual Studio 2008 and 8.4 doesn't support building with 2008.

I tested with Visual Studio 2008 Express.  You can check if ASLR is disabled
using dumpbin.  "dumpbin /headers <EXE_or_DLL_file>" outputs the following
lines.  If the "Dynamic base" line is displayed, ASLR is enabled.  If this
line disappears, ASLR is disabled.

            8140 DLL characteristics
                   Dynamic base
                   NX compatible
                   Terminal Server Aware

Regards
MauMau


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: walsender doesn't send keepalives when writes are pending
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Patch: show relation and tuple infos of a lock to acquire