Re: 800RC1 valgrind-detected bug ?

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: strk <strk(at)keybit(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 800RC1 valgrind-detected bug ?
Date: 2004-12-14 21:07:43
Message-ID: 41BF561F.4020406@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> strk <strk(at)keybit(dot)net> writes:
>
>>==15489== Syscall param write(buf) contains uninitialised or unaddressable byte(s)
>
> Valgrind is fairly useless for debugging postgres, because it doesn't
> know the difference between alignment-pad bytes in a struct and real
> data. What you've got here is a gripe arising from writing out a
> struct containing padding.

Is there any risk of leaking sensitive data to a file or the network via
those uninitialized alignment padding bytes?

-O

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rémi Zara 2004-12-14 22:07:56 Port report: NetBSD 2.0 mac68k
Previous Message Tom Lane 2004-12-14 20:50:11 Re: cant write to file within call handler interface