Contents of /trunk/rarian/patches/rarian-0.8.0-info-segfault.patch
Parent Directory | Revision Log
Revision 558 -
(show annotations)
(download)
Mon Mar 31 12:21:53 2008 UTC (16 years, 6 months ago) by niro
File size: 326 byte(s)
Mon Mar 31 12:21:53 2008 UTC (16 years, 6 months ago) by niro
File size: 326 byte(s)
-patches for rarian-0.8.0-r1
1 | --- librarian/rarian-info.c 2008-03-30 12:43:17.000000000 -0700 |
2 | +++ librarian/rarian-info.c 2008-03-30 12:44:22.000000000 -0700 |
3 | @@ -668,8 +668,10 @@ rrn_info_find_from_uri (char *uri, char |
4 | l = l->next; |
5 | } |
6 | |
7 | - return best_result->reg; |
8 | + if (best_result) |
9 | + return best_result->reg; |
10 | |
11 | + return NULL; |
12 | } |
13 | |
14 | void |