Memory corruption in ILibWebServer_StreamBody (DMS)

Memory corruption in ILibWebServer_StreamBody (DMS)

Hello all,

I'm getting a memory corruption and ultimately a crash in the ILibWebServer_StreamBody function. At the end of the function there's this code:

 if(RetVal!=0 && session->Reserved10!=NULL)
 {
  *(session->Reserved10)=NULL;
 }

And while pointer to session is valid, Reserved10 (and all other pointers in session) point to 0xfeeefeee

From my testing, it happens after a return from:

   //
   // Nothing to send?
   //
   RetVal = ILibWebServer_RequestAnswered(session);

Unfortunately, it's not very easy to reproduce, although it does happen pretty much everytime I try to browse/play files using a client.

Has anyone experienced this? Does anyone have any tips on how to fix this problem?

Thanks!

2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

This actually happens when I increase the DHS_READ_BLOCK_SIZE from its default 16384 to a larger chunk.

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui