Activity log for bug #298580

Date Who What changed Old value New value Message
2008-11-16 02:32:07 joseph bug added bug
2008-11-16 05:16:02 joseph description Binary package hint: metacam Metacam seems to segfault on certain Flash Modes (I'm using Canon 350d) I downloaded source package and applied the ubuntu diffs to it and ran through gdb. I found the following line seems to contain a problem (dpyfuncs.cc: 435) if (v[4]) { static char *flashmodes[] = { "Auto", "On", "Red-Eye Reduction", "Slow Synchro", "Auto + Red-Eye Reduction", "On + Red-Eye Reduction" }; cerr << "vp[4] = " << v[4] << endl; if (v[4] <= 6) //<----- Should be < (not <=) as there are only 6 elements in flashmodes ? fmt(ctx, "Flash Mode", flashmodes[v[4]]); else if (v[4] == 16) fmt(ctx, "Flash Mode", "External"); } else I think: a) dpyfuncs.cc:435 should read: if(v[4] < 6) or b) There should be another element in flashmodes Please correct me if I'm wrong, or ask for more information. Regards, joseph Binary package hint: metacam Metacam seems to segfault on certain Flash Modes (I'm using Canon 350d) I downloaded source package and applied the ubuntu diffs to it and ran through gdb. I found the following line seems to contain a problem (dpyfuncs.cc: 435) if (v[4]) { static char *flashmodes[] = { "Auto", "On", "Red-Eye Reduction", "Slow Synchro", "Auto + Red-Eye Reduction", "On + Red-Eye Reduction" }; if (v[4] <= 6) //<----- Should be < (not <=) as there are only 6 elements in flashmodes ? fmt(ctx, "Flash Mode", flashmodes[v[4]]); else if (v[4] == 16) fmt(ctx, "Flash Mode", "External"); } else I think: a) dpyfuncs.cc:435 should read: if(v[4] < 6) or b) There should be another element in flashmodes Please correct me if I'm wrong, or ask for more information. Regards, joseph
2019-01-21 07:37:14 Launchpad Janitor metacam (Ubuntu): status New Fix Released