Bug 22363

Summary: Crashes with filenames without a dot
Product: Rarian Reporter: Loïc Minier <lool>
Component: GeneralAssignee: Don Scorgie <Don>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: pochu27
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Fix crash on filenames without extensions (skip, just like unknown extensions)

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

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

Bye
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.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535433

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.