|
From: Tom H. <th...@cy...> - 2004-08-11 06:26:25
|
In message <661...@md...>
"Samofatov, Nickolay" <NSa...@br...> wrote:
> 1) IPCOP_semctl subtype of IPC syscall is not handled correctly by
> Valgrind. For example, when arg4 (cmd) is equal to IPC_STAT then buffer
> passed in arg5 is filled with semaphore set data.
> This is not handled and as the result Valgrind complains about
> uninitialized buffer.
> This seems to be not the only problem in this area because on machine
> with a few opened shared memory areas and some semaphores running
> valgrind --tool=memcheck ipcs
> produces very long bunch of bogus errors.
Can you raise a bug for this please so that your patch doesn't
get lost.
> 2) When known zero length and uninitialized pointers are passed to
> Valgrind memcpy() replacement routine it complains about bad pointers
> passed.
> I don't know if Firebird behavior is perfect from standard point of
> view, but this code works on many platforms and with many compilers.
> So I'm not sure if this problem should be fixed in Firebird or in
> Valgrind.
It's probably worth raising a bug for this as well so we can
consider it properly.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|