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

SourceForge.net noreply at sourceforge.net
Wed Jan 23 17:25:18 UTC 2008


Bugs item #1878330, was opened at 2008-01-23 18:56
Message generated for change (Comment added) made by miconda
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Daniel-Constantin Mierla (miconda)
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

----------------------------------------------------------------------

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2008-01-23 19:25

Message:
Logged In: YES 
user_id=1246013
Originator: NO

You were right. Fixed on 1.3 and trunk. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1878330&group_id=139143



More information about the Devel mailing list