Bug 22363 - Crashes with filenames without a dot
Summary: Crashes with filenames without a dot
Status: NEW
Alias: None
Product: Rarian
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Don Scorgie
QA Contact:
Depends on:
Reported: 2009-06-19 02:43 UTC by Loïc Minier
Modified: 2009-07-02 13:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Fix crash on filenames without extensions (skip, just like unknown extensions) (725 bytes, patch)
2009-06-19 02:45 UTC, Loïc Minier
Details | Splinter Review

Description Loïc Minier 2009-06-19 02:43:39 UTC

Yelp currently crashes for everybody in Ubuntu on startup due to the introduciton by some package of /usr/share/gnome/help/libs/shipped-docs.  For some reason, librarian walks over this file and crashes because it has no dot in the filename.

I don't think rarian is supposed to parse this file, so I'll just attach a patch which doesn't crash and skips the file (just like it skips file with other extensions than .document and .section.

This is Launchpad bug https://bugs.launchpad.net/ubuntu/+source/rarian/+bug/375896

Comment 1 Loïc Minier 2009-06-19 02:45:40 UTC
Created attachment 26951 [details] [review]
Fix crash on filenames without extensions (skip, just like unknown extensions)
Comment 2 Emilio Pozuelo Monfort 2009-07-02 13:59:36 UTC
JFTR, The same bug was opened on Debian and this patch was confirmed to fix the crash.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.