Article delegate-en/1249 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1248@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Use of -RELIABLE SEGV's
27 Jul 2001 18:31:27 GMT feedback@delegate.org (Yutaka Sato)


Hi,

On 07/27/01(19:38) you Ivo Palli <p4acabdyi-6rjyzco3gc3r.ml@ml.delegate.org> wrote
in <_A1248@delegate-en.ML_>
 |Delegate 7.3.5 and 7.4.1 both crash with a segmentation fault, with _any_
 |use of the -RELIABLE switch.

You are wrong because "parameters" like RELIABLE must be formed like
RELIABLE=... without preceding "-".
<URL:http://www.delegate.org/delegate/Manual.htm#opt_parameter>

But you are right that command line option starting with -R... causes
segmentation fault on any platforms because of reference to
uninitialized variable.  It will be fixed in the next release like
the enclosed patch.

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

*** ../../delegate7.4.1/src/log.c	Fri Apr 20 17:20:52 2001
--- log.c	Sat Jul 28 03:19:28 2001
***************
*** 880,885 ****
--- 880,888 ----
  curLogFd()
  {	int logfd;
  
+ 	if( logEnv == NULL )
+ 		return -1;
+ 	else
  	if( LogF0.l_fp == NULL || LogF0.l_fp == NOLOG )
  		logfd = -1;
  	else	logfd = fileno(LogF0.l_fp);

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V