ack = (const struct GNUNET_DV_AckMessage *) msg;
peer = GNUNET_CONTAINER_multipeermap_get (sh->peers,
&ack->target);
+ if (NULL == peer)
+ return; /* this happens, just ignore */
for (th = peer->head; NULL != th; th = th->next)
{
if (th->uid != ntohl (ack->uid))