Created attachment 15575 [details] [review] rarian-info-segfault.patch If during an invocation of rrn_info_find_from_uri, there is no hit in the search of the info pages, best_result stays NULL. After the search, the returned value is best_result->reg. Because best_result is NULL at this point, rarian will segfault. Attached patch verifies that there is a hit and then returns the result, otherwise returns NULL as documented.
Confirmed the bug, and the patch!
Thanks for the patch. Been committed and will appear in 0.8.1: 2008-07-29 Don Scorgie <Don@Scorgie.org> * librarian/rarian-info.c: Only return best result when it exists Bug #15274 - Saleem Abdulrasool
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.