Re: crypt and null termination - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: crypt and null termination
Date
Msg-id Pine.LNX.4.30.0108180106530.677-100000@peter.localdomain
Whole thread Raw
In response to Re: crypt and null termination  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: crypt and null termination
Next
From: Hiroshi Inoue
Date:
Subject: Re: Progress report on locale safe LIKE indexing