unrtf throws a coredump on some rtfs

Bug #1310786 reported by Walter Haslbeck
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unrtf (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

unrtf throws a coredump on some rtfs.

Ubuntu-Release: Ubuntu 14.04 LTS

Package: unrtf 0.21.5-1 (amd64)

I attach a test.rtf to reproduce the bug and a patch that fixes this bug.

But: this is just a PoC fix! It checks if the result of word_string is not null before the data is accessed (in the \\author section). Since word_string is used many more times in convert.c, every result should be checked.

Tags: patch
Revision history for this message
Walter Haslbeck (b-walter) wrote :
Revision history for this message
Walter Haslbeck (b-walter) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch.txt" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

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

Other bug subscribers

Bug attachments

Remote bug watches

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