This corrects back to original hash match, and no more pointer 
overrun.


Index: netcrypt.c
===================================================================
--- netcrypt.c  (revision 1482)
+++ netcrypt.c  (working copy)
@@ -61,8 +61,7 @@
        UDWORD hashval = 0, i = 0;
 
        size /= sizeof(uint32_t);
-
-       for(i = 0; i <= size; i++)
+       for(i = 0; i < size; i++)
        {
                hashval = hashval ^ xData[i];
        }

--
Looking for insurance? Compare and save 50% today. Click here.
http://tagline.hushmail.com/fc/CAaCXv1QT6olWqU3VPPT4wArBSAxF5l9/




_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to