Hi,

03.08.2007 02:57,, James Harper wrote::
> I was just trying to restore a file (eg restore, option 7) and went to
> paste in the filename from the clipboard but I was also in the middle of
> doing some unrelated SQL work and so pasted the following in by mistake:
> 
> --UPDATE SO_LineDetails SET SOHID = LEFT(REPLACE(NEWID(), '-'
> 
> Which hung the director completely... it needed a restart to get going
> again.

If that's the case, I suspect we have a serious case of passing 
unchecked user-supplied data to the catalog database.

I would consider that a serious bug.

> Obviously this isn't something that a user is going to encounter in day
> to day use, unless they are using really really strange filenames, but I
> thought it was worth mentioning anyway.

Definitely...

> Bacula is version 2.0.3 using MySQL and running under Debian.

I suppose you didn't check with mysqladmin what the catalog database 
was actually doing when the DIR hung?

Arno

> James
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to