Revision: 8348
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8348&view=rev
Author:   thjc
Date:     2009-10-31 13:43:16 +0000 (Sat, 31 Oct 2009)

Log Message:
-----------
applied patch 2887954: writelog assertations for wifi data are too strict

Modified Paths:
--------------
    code/player/trunk/server/drivers/shell/writelog.cc

Modified: code/player/trunk/server/drivers/shell/writelog.cc
===================================================================
--- code/player/trunk/server/drivers/shell/writelog.cc  2009-10-30 21:45:34 UTC 
(rev 8347)
+++ code/player/trunk/server/drivers/shell/writelog.cc  2009-10-31 13:43:16 UTC 
(rev 8348)
@@ -1892,9 +1892,9 @@
            memset(ip,0,sizeof(ip));
            memset(essid,0,sizeof(essid));
 
-           assert(wdata->links[i].mac_count < sizeof(mac));
-           assert(wdata->links[i].ip_count < sizeof(ip));
-           assert(wdata->links[i].essid_count < sizeof(essid));
+           assert(wdata->links[i].mac_count <= sizeof(mac));
+           assert(wdata->links[i].ip_count <= sizeof(ip));
+           assert(wdata->links[i].essid_count <= sizeof(essid));
 
            memcpy(mac, wdata->links[i].mac, wdata->links[i].mac_count);
            memcpy(ip, wdata->links[i].ip, wdata->links[i].ip_count);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to