[Mvpmc-tracker] [ mvpmc-Bugs-2407746 ] Wrong array size in src/mythtv.c
Status: Alpha
Brought to you by:
gettler
From: SourceForge.net <no...@so...> - 2008-12-08 22:30:03
|
Bugs item #2407746, was opened at 2008-12-08 23:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=634920&aid=2407746&group_id=103474 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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mogens Lauridsen (mlla) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong array size in src/mythtv.c Initial Comment: In src/mythtv.c line 4267-4272 my compiler complains about this code: if (strlen(sqlprog[which].description) > 384) { sqlprog[which].description[381]='.'; sqlprog[which].description[382]='.'; sqlprog[which].description[383]='.'; sqlprog[which].description[384]='\0'; } sqlprog is of the the cmyth_program_t type, where the description field is defined as: (include/cmyth.h) char description[280]; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=634920&aid=2407746&group_id=103474 |