From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: fix memcpy() overlap |
Date: | 2004-02-02 21:30:43 |
Message-ID: | 87broh6uf0.fsf@mailbox.samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> This isn't a bug
If that's the case I'm content with not changing the code, but I'd
rather not just take it on faith: can you point me to some authority
that says two objects with the same address do not "overlap"?
(I checked C99 (draft 843) and while it references overlapping objects
several times, it never precisely defines the term.)
> I see no reason to clutter the code just to shut up valgrind.
Sure -- it is either our bug, or a bug in valgrind.
-Neil
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2004-02-02 21:35:02 | Win32 signals patch #2 |
Previous Message | Nicolai Tufar | 2004-02-02 21:27:42 | Re: C locale sort in src/tools/make_ctags - solved |