| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | mark(at)mark(dot)mielke(dot)cc |
| Cc: | Zeugswetter Andreas DCP SD <ZeugswetterA(at)spardat(dot)at>, "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Faster StrNCpy |
| Date: | 2006-10-03 14:24:11 |
| Message-ID: | 25275.1159885451@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
mark(at)mark(dot)mielke(dot)cc writes:
> ... It would come down to
> whether there was a security requirements that the last bytes
> were '\0' or not. I haven't seen anybody mention this as a
> requirement.
I think it is a requirement for namestrcpy (because the result might end
up on disk), but not elsewhere.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2006-10-03 14:34:06 | tsearch2 error msg |
| Previous Message | Peter Eisentraut | 2006-10-03 14:20:19 | Re: [PATCHES] Generic Monitoring Framework with DTrace patch |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sergey E. Koposov | 2006-10-03 14:48:49 | 7.4, 8.0 branches @ itanium2 & icc |
| Previous Message | Peter Eisentraut | 2006-10-03 14:20:19 | Re: [PATCHES] Generic Monitoring Framework with DTrace patch |