[asterisk-bugs] [Asterisk 0011669]: [patch] Asterisk misses cast to char * on some execl calls

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 2 18:29:16 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11669 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11669
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 96077 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-02-2008 17:33 CST
Last Modified:              01-02-2008 18:29 CST
====================================================================== 
Summary:                    [patch] Asterisk misses cast to char * on some execl
calls
Description: 
app_ices.c, app_mp3.c and main/asterisk.c call execl. They include the NULL
as last argument, but on OpenBSD you need to cast them to (char *) for it
to compile
This patch adds those casts.
====================================================================== 

---------------------------------------------------------------------- 
 caio1982 - 01-02-08 18:29  
---------------------------------------------------------------------- 
As per mvanbaak's request on IRC, this patch does not break my trunk
installation running on OSX 10.4.11. Just tested the patch and it's fine,
no breakage so far when building and loading the changed modules/code. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-02-08 18:29  caio1982       Note Added: 0076237                          
======================================================================




More information about the asterisk-bugs mailing list