Changesets: bareos

playground ff640c8c

2014-04-24 17:37

joergs

Ported: N/A

Details Diff
handle unset parameter
mod - scripts/bareos-config-lib.sh.in Diff File

master 866c1c22

2014-04-24 17:37

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
handle unset parameter

some scripts (eg. package postinstall script) include bareos-config-lib.sh with settings,
that exit if a variable is undefined.
To prevent problems, function parameter are now used as "${1-}", so that they are never undefined.
Also fixes a bug, when using a database password that contains "/".
"/" is now a allowed character, but "#" is forbidden.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/bareos-config-lib.sh.in Diff File

playground 4f97d50c

2014-04-24 17:37

joergs

Ported: N/A

Details Diff
handle unset parameter

some scripts (eg. package postinstall script) include bareos-config-lib.sh with settings,
that exit if a variable is undefined.
To prevent problems, function parameter are now used as "${1-}", so that they are never undefined.
Also fixes a bug, when using a database password that contains "/".
"/" is now a allowed character, but "#" is forbidden.
mod - scripts/bareos-config-lib.sh.in Diff File

bareos-13.2 3231d066

2014-04-24 17:37

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
handle unset parameter

some scripts (eg. package postinstall script) include bareos-config-lib.sh with settings,
that exit if a variable is undefined.
To prevent problems, function parameter are now used as "${1-}", so that they are never undefined.
Also fixes a bug, when using a database password that contains "/".
"/" is now a allowed character, but "#" is forbidden.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/bareos-config-lib.sh.in Diff File

master e5bd8428

2014-04-23 17:49

Marco van Wieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master fdfdaf50

2014-04-23 16:21

Marco van Wieringen

Ported: N/A

Details Diff
Drop va_copy as it not fully portable.

Also drop max_size() method of POOL_MEM and use size() method.
mod - autoconf/configure.in Diff File
mod - src/dird/bsr.c Diff File
mod - src/include/baconfig.h Diff File
mod - src/lib/lex.c Diff File
mod - src/lib/mem_pool.c Diff File
mod - src/lib/mem_pool.h Diff File
mod - src/lib/message.c Diff File
mod - src/lib/parse_bsr.c Diff File

master ab2a179c

2014-04-23 15:49

mvwieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master bbe02504

2014-04-23 14:21

mvwieringen

Ported: N/A

Details Diff
Drop va_copy as it not fully portable.

Also drop max_size() method of POOL_MEM and use size() method.
mod - autoconf/configure.in Diff File
mod - src/dird/bsr.c Diff File
mod - src/include/baconfig.h Diff File
mod - src/lib/lex.c Diff File
mod - src/lib/mem_pool.c Diff File
mod - src/lib/mem_pool.h Diff File
mod - src/lib/message.c Diff File
mod - src/lib/parse_bsr.c Diff File

master 77c5b3ec

2014-04-22 17:16

Marco van Wieringen

Ported: N/A

Details Diff
Help static analyzer in understanding code.

A static analyzer doesn't understand Emsg(M_ERROR_TERM, ...) so lets put
the rest of the code into the else part of the if so things can be
understood by the analyzer and the basic code path doesn't change much.
mod - src/console/console_conf.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/stored/stored_conf.c Diff File

playground f3c69e26

2014-04-22 15:16

mvwieringen

Ported: N/A

Details Diff
Help static analyzer in understanding code.

A static analyzer doesn't understand Emsg(M_ERROR_TERM, ...) so lets put
the rest of the code into the else part of the if so things can be
understood by the analyzer and the basic code path doesn't change much.
mod - src/console/console_conf.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/stored/stored_conf.c Diff File

bareos-13.2 6423b698

2014-04-22 15:16

mvwieringen

Ported: N/A

Details Diff
Help static analyzer in understanding code.

A static analyzer doesn't understand Emsg(M_ERROR_TERM, ...) so lets put
the rest of the code into the else part of the if so things can be
understood by the analyzer and the basic code path doesn't change much.
mod - src/console/console_conf.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/stored/stored_conf.c Diff File

master 04d1d241

2014-04-22 11:56

Marco van Wieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/filed/status.c Diff File
mod - src/stored/status.c Diff File

playground b5459025

2014-04-22 09:56

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/filed/status.c Diff File
mod - src/stored/status.c Diff File

bareos-13.2 0b2add89

2014-04-22 09:56

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/filed/status.c Diff File
mod - src/stored/status.c Diff File

master 3e27bdac

2014-04-22 00:21

Marco van Wieringen

Ported: N/A

Details Diff
Lets not introduce an buffer overun trying to fix an other.
mod - src/tools/bsmtp.c Diff File

master 2e182863

2014-04-22 00:11

Marco van Wieringen

Ported: N/A

Details Diff
Cleanup error handling.
mod - src/lib/var.c Diff File

master 23afadf7

2014-04-21 23:55

Marco van Wieringen

Ported: N/A

Details Diff
Fix some bugs detected by Coverity.
mod - src/cats/sql_update.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/filed/status.c Diff File
mod - src/lib/var.c Diff File
mod - src/stored/spool.c Diff File
mod - src/tools/bsmtp.c Diff File

master cd49f9ba

2014-04-21 22:50

Marco van Wieringen

Ported: N/A

Details Diff
Refactor status printing.

Try to use a POOL_MEM whenever possible so we also don't make mistakes
in the length of the status string a possibly overrun an string. Also
if we don't print a string because of being in API mode it doesn't make
sense to even build the status string (as we are not going to print it
anyway.) Also fixes 2 other Coverity high impatct bugs.
mod - src/dird/catreq.c Diff File
mod - src/filed/status.c Diff File
mod - src/lib/attribs.c Diff File
mod - src/stored/status.c Diff File

playground 8a40bdcf

2014-04-21 22:21

mvwieringen

Ported: N/A

Details Diff
Lets not introduce an buffer overun trying to fix an other.
mod - src/tools/bsmtp.c Diff File

bareos-13.2 898f9953

2014-04-21 22:21

mvwieringen

Ported: N/A

Details Diff
Lets not introduce an buffer overun trying to fix an other.
mod - src/tools/bsmtp.c Diff File

playground fc061127

2014-04-21 22:11

mvwieringen

Ported: N/A

Details Diff
Cleanup error handling.
mod - src/lib/var.c Diff File

bareos-13.2 71763841

2014-04-21 22:11

mvwieringen

Ported: N/A

Details Diff
Cleanup error handling.
mod - src/lib/var.c Diff File

master 96e45bbc

2014-04-21 21:55

mvwieringen

Ported: N/A

Details Diff
Fix some bugs detected by Coverity.
mod - src/cats/sql_update.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/filed/status.c Diff File
mod - src/lib/var.c Diff File
mod - src/stored/spool.c Diff File
mod - src/tools/bsmtp.c Diff File

bareos-13.2 e4baf3e4

2014-04-21 21:55

mvwieringen

Ported: N/A

Details Diff
Fix some bugs detected by Coverity.
mod - src/cats/sql_update.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/filed/status.c Diff File
mod - src/lib/var.c Diff File
mod - src/stored/spool.c Diff File
mod - src/tools/bsmtp.c Diff File

master 182bcebb

2014-04-21 21:31

Marco van Wieringen

Ported: N/A

Details Diff
Update README.md
mod - README.md Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 580 581 582 583 584 585 586 ... 600 ... 635 636 637  Next  Last