[OpenSER-Devel] [ openser-Bugs-1878330 ] coredup on invalid option

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jan 24 07:58:48 UTC 2008


btw: What is "BlackCat"

regards
klaus

SourceForge.net schrieb:
> Bugs item #1878330, was opened at 2008-01-23 08:56
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1878330&group_id=139143
> 
> Please note that this message will contain a full copy of the comment thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: core
> Group: ver 1.3.x
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Nobody/Anonymous (nobody)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: coredup on invalid option
> 
> Initial Comment:
> Hello,
>  I am using "BlackCat". When I try to run this proxy using with "-i fifo-path" or "-x socket-path" option then this make coredump. I find that this two option already removed from this file because of mi_fifo and mi_datagram module(I think), but the assignment of this two option in "options" variable is not removed at line no.911 from "main.c" file. Thats why when we try to use this option then it leads to the default case, which is abort and then make coredump. 
>  I have a question,Is there any reason to use abort function in default case? can we use a "usage" function to show the short list of valid option? If we can do this then I attached a simple patch, I think it will be usefull.
> 
> Thanks and regards,
> Salahuddin Ahmed
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1878330&group_id=139143
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel



More information about the Devel mailing list