Hello.

I have packaged obexftp for Fedora. It is available for FC5, FC6 and devel
(soon-to-be FC7). One of the users reported a segfault in obexftpd and
provided a patch to fix it (attached). Details of the bugreport can be found
here: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230991

Regards,
R.

-- 
Fedora Extras contributor  http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
diff -u -rup obexftp-0.22-orig/apps/obexftpd.c obexftp-0.22/apps/obexftpd.c
--- obexftp-0.22-orig/apps/obexftpd.c   2006-07-03 02:12:30.000000000 +0200
+++ obexftp-0.22/apps/obexftpd.c        2007-03-26 11:06:07.000000000 +0200
@@ -399,7 +402,7 @@ static uint8_t* easy_readfile(const char
                return NULL;
        }
        
-       buf = malloc(sizeof(*file_size));
+       buf = malloc(*file_size);
        if(buf == NULL)
        {
                return NULL;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to