[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: incorrect memcpy use
From: |
Alexander Malmberg |
Subject: |
Re: PATCH: incorrect memcpy use |
Date: |
Tue, 13 Jul 2004 16:11:29 +0200 |
Andrew Ruder wrote:
> Hello all,
>
> Valgrind was complaining about some problems with memcpy and overlapping
> memory addresses in NSSocketPort.m. Looking a bit closer I think that
> all the memcpy's need to be replaced with memmove's in NSSocketPort.m
> and NSMessagePort.m since more than one event could be received at a
> time and the use of memcpy seems to suggest that that couldn't happen.
Committed. Thanks!
- Alexander Malmberg