Tomas Szepe <[EMAIL PROTECTED]> writes:
> (BTW, it seems the bug can't be triggered on Linux/sparc32).

You'd be less likely to see it on a machine where MAXALIGN is 8,
since there would be more pad bytes on the average ... but depending
on the string length fed to to_ascii(), I think it could be made
to happen on any platform.  Strings whose length is an odd multiple
of four (4, 12, etc) would have no pad bytes on any platform.

I'm surprised we did not notice this case when we were testing the fix
for the other bug.  That bug was only an off-by-one, this was an
off-by-four :-(

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to