Re: Password security question

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: Password security question
Дата
Msg-id Pine.LNX.4.21.0212171315130.31083-100000@linuxworld.com.au
обсуждение исходный текст
Ответ на Password security question  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Tue, 17 Dec 2002, Christopher Kings-Lynne wrote:

> Hi guys,
> 
> Just a thought - do we explicitly wipe password strings from RAM after using
> them?
> 
> I just read an article (by MS in fact) that illustrates a cute problem.
> Imagine you memset the password to zeros after using it.  There is a good
> chance that the compiler will simply remove the memset from the object code
> as it will seem like it can be optimised away...

Bugtraq discussion claims that GCC >=3 are not affected by this. Variables
which are affected by code that cannot be optimised away should be marked
volitile anyway.

Gavin



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Password security question
Следующее
От: "zahid rahman"
Дата:
Сообщение: Re: Is that it ?