[ playerstage-Patches-2887954 ] writelog assertations for wifi data are too strict

View: New views
1 Messages — Rating Filter:   Alert me  

[ playerstage-Patches-2887954 ] writelog assertations for wifi data are too strict

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Patches item #2887954, was opened at 2009-10-28 14:23
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433166&aid=2887954&group_id=42445

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Player
Group: Release-3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Brian Gerkey (gerkey)
Summary: writelog assertations for wifi data are too strict

Initial Comment:
player_wifi_link_t uses 32 char long arrays for mac, ip and essid. The writelog code for the wifi interfaces uses arrays of the same length to copy the mac, ip and essid. Yet the assert to guarantee that the destination buffer is of sufficient size is too strict (< instead of <=).
Currently the writelog driver aborts when it should log wifi data because the assert fails while the target buffer for the memcpy is of the same size like the source buffer.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433166&aid=2887954&group_id=42445

------------------------------------------------------------------------------
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-developers mailing list
Playerstage-developers@...
https://lists.sourceforge.net/lists/listinfo/playerstage-developers