[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 1.5.0.7 (X11/20060909) |
Hi,
linphonec crash if you make call without any argument.
I made a simple patch to fix it
Thanks
--
Timothy `Drizzt` Redaelli - http://dev.gentoo.org/~drizzt/
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
+0100
+++ 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");
signature.asc
Description: OpenPGP digital signature
- [Linphone-developers] linphonec segfaults if you make call without any argument,
Timothy Redaelli <=