ravthan / all-eyes

Automatically exported from code.google.com/p/all-eyes
0 stars 0 forks source link

CodeReview: For file monitormgmt.c, the line 371 should be "- 1" not "+ 1" #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
During code review, we found that for file monitormgmt.c at line 371, the 
statement

m->monMsg[MAX_MONITOR_MSG_LENGTH + 1] = '\0';

should be

m->monMsg[MAX_MONITOR_MSG_LENGTH - 1] = '\0';

Original issue reported on code.google.com by toddd...@gmail.com on 31 Oct 2012 at 2:42

GoogleCodeExporter commented 8 years ago
Fixed,
ravi.

Original comment by ravt...@gmail.com on 31 Oct 2012 at 4:51

GoogleCodeExporter commented 8 years ago
Verified with unit testing

Original comment by tbrt....@gmail.com on 9 Dec 2012 at 9:24