Re: crypt and null termination

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Doug McNaught <doug(at)wireboard(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: crypt and null termination
Date: 2001-08-17 23:08:29
Message-ID: Pine.LNX.4.30.0108180106530.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-17 23:16:43 Re: encoding names
Previous Message Bruce Momjian 2001-08-17 22:49:02 Re: crypt and null termination