[Bug 298580] Re: Metacam segfaults on certain flash modes
joseph
joseph.violi at gmail.com
Sun Nov 16 05:16:02 UTC 2008
** Description changed:
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
--
Metacam segfaults on certain flash modes
https://bugs.launchpad.net/bugs/298580
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list