Main inclusion request for odt2txt

Bug #359881 reported by Steve Langasek
4
Affects Status Importance Assigned to Milestone
odt2txt (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: odt2txt

tracker recommends: odt2txt in order to be able to index OOo documents, which is an important functionality; I think this should be promoted to main, rather than dropping it to a suggests, despite the other packages currently listed in suggests (imagemagick, djvulibre-bin, gnumeric).

https://wiki.ubuntu.com/MainInclusionReportOdt2Txt

Steve Langasek (vorlon)
Changed in odt2txt (Ubuntu Jaunty):
importance: Undecided → High
importance: High → Undecided
milestone: none → ubuntu-9.04
Revision history for this message
Kees Cook (kees) wrote :

This has an embedded unzipping library (kunzip/*). I would be happier if it could be ported to libzip instead. Since this is only a Recommends, if porting to libzip is not possible, I would rather that tracker move it to a Suggests. Outside of that, the code seems fairly defensive when handling the odt data, so I would approve it after the libzip porting.

Changed in odt2txt (Ubuntu Jaunty):
status: New → Incomplete
Revision history for this message
Kees Cook (kees) wrote :

And now I know how to use libzip. Ported to system libzip interface, so I'll approve this MIR if the release manage is happy with the debdiff.

+1

Changed in odt2txt (Ubuntu Jaunty):
status: Incomplete → Fix Committed
Revision history for this message
Kees Cook (kees) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package odt2txt - 0.4-1ubuntu1

---------------
odt2txt (0.4-1ubuntu1) jaunty; urgency=low

  * Makefile, odt2txt.c: port to using system libzip instead of kunzip
    (LP: #359881).

 -- Kees Cook <email address hidden> Sun, 12 Apr 2009 01:35:36 -0700

Changed in odt2txt (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Patch looks correct to me, except for this:

+ (r = zip_name_locate(zip, filename, ZIP_FL_NOCASE)) < 0 ||

The original code appears to do case-sensitive filename matches, and the above line does a case-insensitive match instead. This should be a non-issue for any well-formed odt file, but it does seem to diverge unnecessarily and was presumably an oversight.

Accepting, anyway; if you want to correct this, I'll accept that change as well.

Revision history for this message
Kees Cook (kees) wrote :

Looks like kunzip.h and kunzip.c documented the meaning of bits in opposite ways, and then didn't actually implement it at all. I've uploaded a version that does not set ZIP_FL_NOCASE now. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.