[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] linphonec segfaults if you make call without any a

From: Timothy Redaelli
Subject: [Linphone-developers] linphonec segfaults if you make call without any argument
Date: Fri, 02 Feb 2007 14:33:42 +0100
User-agent: Thunderbird (X11/20060909)

linphonec crash if you make call without any argument.

I made a simple patch to fix it

Timothy `Drizzt` Redaelli -
FreeSBIE Developer, Gentoo Developer, GUFI Staff
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence.      -- Jeremy S. Anderson
--- linphone-1.6.0.old/console/commands.c       2007-02-02 13:57:55.000000000 
+++ linphone-1.6.0/console/commands.c   2007-02-02 14:25:51.000000000 +0100
@@ -287,6 +287,7 @@
 static int
 lpc_cmd_call(LinphoneCore *lc, char *args)
+       if ( ! args || ! *args ) return 0;
        if ( lc->call != NULL )
                printf("Terminate current call first.\n");

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]