Re: backpatch of datetime fixes

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: backpatch of datetime fixes
Date: 2002-08-21 01:18:46
Message-ID: 3D62EA76.A5A8A15C@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway wrote:
>
> I've backpatched Thomas's fixes for the potential buffer overruns in
> the datetime code to the REL7_2_STABLE branch. The required changes
> are pretty minimal, and the code passes the regression tests.
>
> However, I haven't yet seen a test-case that demonstrates the buffer
> overrun in 7.2 code (I originally found the problem when playing with
> datetime on 7.3-dev with integer datetimes)

I've had trouble provoking an error also, but the circumstances should
be related to having a long date/time input, especially if it has more
fields than one would expect in a valid date/time string.

- Thomas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-21 01:43:48 Re: Proposal: make "opaque" obsolete
Previous Message Tatsuo Ishii 2002-08-21 01:10:09 Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow