Difference between revisions of "Team 5 Bugs Report"

From CDOT Wiki
Jump to: navigation, search
Line 14: Line 14:
 
( Commented being the fix)
 
( Commented being the fix)
  
Week 4 Log Update (Sept. 25/13):
+
 
 +
== Week 4-5 Log (Sept. 25/13): ==
 
- display function completed, no bugs found
 
- display function completed, no bugs found

Revision as of 20:38, 25 September 2013

  • On local machine (Windows), while compiling with GCC,
   ncursor.h : No such file or directory

(GNU library not existing on Windows platform by default)

  • String Overlapping during strncpy() causing memory corruption.
     if ((int)strlen(str)>fieldLen){
       char * strOut;
       //strOut = new char[fieldLen + 1];
       strncpy(strOut, str, fieldLen);
       strOut[fieldLen]='\0';
       
       //delete [] strOut;
      }

( Commented being the fix)


Week 4-5 Log (Sept. 25/13):

- display function completed, no bugs found