Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 125990 | Differences between
and this patch

Collapse All | Expand All

(-)protocol.c.orig (+3 lines)
Lines 626-631 Link Here
626
       if (currentData + sizeof (ENetProtocolCommandHeader) > & host -> receivedData [host -> receivedDataLength])
626
       if (currentData + sizeof (ENetProtocolCommandHeader) > & host -> receivedData [host -> receivedDataLength])
627
         return 0;
627
         return 0;
628
628
629
       if (header.commandLength < 0)
630
         return 0;
631
629
       command -> header.commandLength = ENET_NET_TO_HOST_32 (command -> header.commandLength);
632
       command -> header.commandLength = ENET_NET_TO_HOST_32 (command -> header.commandLength);
630
633
631
       if (currentData + command -> header.commandLength > & host -> receivedData [host -> receivedDataLength])
634
       if (currentData + command -> header.commandLength > & host -> receivedData [host -> receivedDataLength])

Return to bug 125990