Bug 12226

Summary: Crash generating reg->identifier
Product: Rarian Reporter: Hans Petter Jansson <hpj>
Component: GeneralAssignee: Don Scorgie <Don>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 12247    
Bug Blocks:    
Attachments: Fix for basename identifier crash.

Description Hans Petter Jansson 2007-08-30 19:30:31 UTC
rrn_reg_parse_file_full () and rrn_reg_parse_file () will crash if the document's desktop file does not specify an identifier. When trying to generate an identifier based on the file name, it passes a negative length to rrn_strndup().
Comment 1 Hans Petter Jansson 2007-08-30 19:31:24 UTC
Created attachment 11340 [details] [review]
Fix for basename identifier crash.

This patch fixes the bug.
Comment 2 Don Scorgie 2007-09-12 11:34:56 UTC
Fixed in 0.6.0.  Not committed to SVN due to bug #12247.  Marking this as a
dependance to remind me to commit when done.
Comment 3 Don Scorgie 2007-09-16 08:49:43 UTC
Committed. Closing.

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.