Your message dated Mon, 9 Oct 2006 10:47:14 -0500
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #387838,
regarding bacula-director-mysql: segfault
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Hello,

I have received a few reports from users that the Bacula director
segfaults on invalid configuration files.  Below is one such report, and
an excerpt from the config file that caused the issue.  The full copy of
this report is at http://bugs.debian.org/387838.

BTW, is forwarding these to the mailing list the appropriate thing to be
doing?

Thanks,

-- John

----- Forwarded message from Vladimir Stavrinov <[EMAIL PROTECTED]> -----

From: Vladimir Stavrinov <[EMAIL PROTECTED]>
Date: Sun, 17 Sep 2006 19:27:11 +0400
To: John Goerzen <[EMAIL PROTECTED]>
Subject: Re: Bug#387838: bacula-director-mysql: segfault

On Sun, Sep 17, 2006 at 07:42:10AM -0500, John Goerzen wrote:

> Yes, I agree, and that is what Bacula normally does.

What is that norm? Norm is any file as config, even binary, should not
cause segfault. segfault means   no error handling, badly written code and
wrong programming concept at all. segfault should never appear and nowhere.

> the segfault.  Do you still have the file available?

No, but trying reproduce and successful result here is. My
config is split into few files, one of them was started as
follow:


##### HOST ############### Storage { Name = terra Address = terra SDPort = 9103 
Password = ""
  Device = terra
  Maximum Concurrent Jobs = 10
  Media Type = File
}

And this cause segfault. Corrected one look like this:

##### HOST ###############
Storage {
  Name = terra
  Address = terra
  SDPort = 9103
  Password = ""
  Device = terra
  Maximum Concurrent Jobs = 10
  Media Type = File
}

This is OK. Password removed. You see: there are comment and four
(Name,Address,SDPort and Password) attributes all in one line. This is root
of problem.

********************************
****  Vladimir Stavrinov  ******
*******  [EMAIL PROTECTED]  **********
*****  http://inist.ru *********
********************************



----- End forwarded message -----

--- End Message ---

Reply via email to