I thought I had found all of these, but alas. This crash didn't seem to
happen with riocp but did with banshee.
--
Bob Copeland %% www.bobcopeland.com
# HG changeset patch
# User [EMAIL PROTECTED]
# Date 1179996885 14400
# Node ID 309e443f10a765f4fb49121bfad65c8ef20c0414
# Parent a5ef4a2ede737d1b31645d9de07cedd582a4f17f
Fix a crash caused by an empty smalldb.
Whereas before we would exit with an error when a new smalldb was found,
now we keep going. However, the fid array is never allocated in this
case so a crash occurs in lk_fdb_load.
diff -r a5ef4a2ede73 -r 309e443f10a7 src/karmaUsb.c
--- a/src/karmaUsb.c Tue May 15 18:29:02 2007 +0200
+++ b/src/karmaUsb.c Thu May 24 04:54:45 2007 -0400
@@ -978,6 +978,8 @@ void lk_karmaUsb_load_database_smalldb(i
if(properties)
count = lk_properties_import(properties);
/* else just assume a new blank DB */
+ else
+ lk_properties_init();
lk_fdb_load(1);
/* fprintf(stderr, "smalldb: %d Files\n", count); */
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel