View Single Post
  #1   Spotlight this post!  
Unread 11-02-2012, 12:05
kccowan kccowan is offline
Registered User
AKA: Ken Cowan
FRC #1073
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Hollis, NH
Posts: 17
kccowan is an unknown quantity at this point
Bug in Dashboard::AddString

Dashboard::AddString has a bug. It take the address of the address of the string.

memcpy(m_packPtr, (char*)&value, length);

should be

memcpy(m_packPtr, value, length);

KC
Reply With Quote