Re: crypt and null termination

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: crypt and null termination
Дата
Msg-id Pine.LNX.4.30.0108180106530.677-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: crypt and null termination  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian writes:

> > Bruce Momjian writes:
> >
> > > Anyway, the patch is small so I will apply it.  There is no telling what
> > > OS's expect a character string there.
> >
> > There's a pretty good telling:  Nobody ever reported a problem related to
> > this.
>
> We have had crypts that didn't work across platforms.

That's because they used different encoding algorithms.  A missing null
terminator has different effects, across platforms or not.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: crypt and null termination
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Progress report on locale safe LIKE indexing