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-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to