From: Eric Bollengier Date: Thu, 20 Sep 2007 16:56:53 +0000 (+0000) Subject: ebl Fix a command parser issue causing a director segfault. X-Git-Tag: Release-7.0.0~5639 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=28e389202559a57f293815cda6bcb48a1d8513b3;p=bacula%2Fbacula ebl Fix a command parser issue causing a director segfault. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5616 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index 5baf9d9c6a..ece3e36cb7 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -933,7 +933,7 @@ static bool scan_command_line_arguments(UAContext *ua, run_ctx &rc) /* Note, yes and run have no value, so do not fail */ if (!ua->argv[i] && j != YES_POS /*yes*/) { ua->send_msg(_("Value missing for keyword %s\n"), ua->argk[i]); - return true; + return false; } Dmsg1(800, "Got keyword=%s\n", NPRT(kw[j])); switch (j) { diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 607ad8b595..251b83468b 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -2,6 +2,7 @@ General: 20Sep07 +ebl Fix a command parser issue causing a director segfault. kes Fix ANSI tape labeling. Fix restoring ANSI labeled Volumes. This fixes bug #954. kes Increase the max block size to 4MB fixes bug #957.