[Bug 433146] Re: xfstt assert failure: *** buffer overflow detected ***: /usr/bin/xfstt terminated
SevenMachines
SevenMachines at yahoo.co.uk
Thu Feb 11 11:29:24 UTC 2010
this could be
src/xfstt.cc:
strncpy(info.magic, "TTFNINFO", 8);
but,
src/xfstt.h:
typedef struct {
char magic[4]; // == TTFN
char type[4]; // == INFO or NAME
u16_t version;
u16_t key;
u32_t crc;
//TTFNdata ttfn[];
} TTFNheader;
so maybe,
src/xfstt.cc:
- strncpy(info.magic, "TTFNINFO", 8);
+ strncpy(info.magic, "TTFN", 4);
+ strncpy(info.type, "INFO", 4);
seems to work, does that look sane? i cant get the failure on debian so
i'm not entirely sure whats going on in ubuntu specifically
** Patch added: "xfstt_1.7-6ubuntu1.debdiff"
http://launchpadlibrarian.net/39056904/xfstt_1.7-6ubuntu1.debdiff
--
xfstt assert failure: *** buffer overflow detected ***: /usr/bin/xfstt terminated
https://bugs.launchpad.net/bugs/433146
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