Bug 12226 - Crash generating reg->identifier
Summary: Crash generating reg->identifier
Status: RESOLVED FIXED
Alias: None
Product: Rarian
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium critical
Assignee: Don Scorgie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 12247
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-30 19:30 UTC by Hans Petter Jansson
Modified: 2007-09-16 08:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix for basename identifier crash. (1.62 KB, patch)
2007-08-30 19:31 UTC, Hans Petter Jansson
Details | Splinter Review

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.