[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] KExtendedSocket segfaults in asynchronous lookups
From: Waldo Bastian <bastian () kde ! org>
Date: 2002-03-20 21:01:49
[Download RAW message or body]
On Wednesday 20 March 2002 10:38 am, Thiago Macieira wrote:
> Rik Hemsley spotted a bug in KExtendedSocket's asynchronous lookup and
> connection code in the beginning of the month, but only now did I see the
> e-mail reporting the bug. This would cause the program using
> KExtendedSocket to segfault at any attempt at using asynchronous lookups.
>
> I've put together a patch (attached) that fixes the problem. I'm waiting
> for his reply confirming that he sees no further problems to commit this to
> CVS.
Shouldn't you add some "if (d->bindres)" checks at the bottom too before
accessing d->bindres->data?
Cheers,
Waldo
--
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic