From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <neilc(at)samurai(dot)com> |
Cc: | Bruce Momjian - CVS <momjian(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql-server/src/backend/utils/adt oracle_compat.c |
Date: | 2002-08-22 05:05:28 |
Message-ID: | 200208220505.g7M55S315291@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
OK, updated patch attached.
---------------------------------------------------------------------------
Neil Conway wrote:
> momjian(at)postgresql(dot)org (Bruce Momjian - CVS) writes:
> > Modified files:
> > src/backend/utils/adt: oracle_compat.c
> >
> > Log message:
> > repeat() fix:
> >
> > > Neil Conway <neilc(at)samurai(dot)com> writes:
> > > > + /* Check for integer overflow */
> > > > + if (tlen / slen != count)
> > > > + elog(ERROR, "Requested buffer is too large.");
> > >
> > > What about slen == 0?
> >
> > Good point -- that wouldn't cause incorrect results or a security
> > problem, but it would reject input that we should really accept.
> >
> > Revised patch is attached.
>
> This is the wrong version of the patch -- please apply the updated
> patch I sent to -hackers (which is the same one I sent to you via
> private mal).
>
> Also, this should be applied to REL7_2_STABLE as well, IMHO.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 844 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2002-08-22 05:27:41 | pgsql-server/src/backend commands/Tag: command ... |
Previous Message | Bruce Momjian - CVS | 2002-08-22 05:05:19 | pgsql-server/src/backend/utils/adt oracle_compat.c |