Changesets: bareos

master 20b223a5

2020-04-30 15:11

franku

Ported: N/A

Details Diff
libcloud-plugin: add more debugging output
mod - core/src/plugins/filed/BareosFdPluginLibcloud.py Diff File
mod - core/src/plugins/filed/BareosLibcloudApi.py Diff File

master a9523edd

2020-04-29 18:23

readonly


Committer: franku

Ported: N/A

Details Diff
postgres-plugin: normalize postgres lsn to make it fully comparable

- output of select pg_current_wal_lsn(); is a hex-number formatted as string of varying length
mod - core/src/plugins/filed/BareosFdPluginPostgres.py Diff File

master 28191063

2020-04-29 17:49

arogge

Ported: N/A

Details Diff
core: remove HAVE_(V)SNPRINTF

these functions are required by the standard and can be assumed to
exist.
mod - core/cmake/BareosCheckFunctions.cmake Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 79c2409c

2020-04-29 17:22

arogge

Ported: N/A

Details Diff
core: avoid UB in identifier names

Every identifier starting with an underscore and continuing with an
uppercase letter is reserved and its use is undefined behaviour.
This patch renames the identifiers _PATH_BAREOS_BACKENDDIR,
_PATH_BAREOS_PIDDIR and _PATH_BAREOS_WORKINGDIR to not contain a leading
underscore.
mod - core/CMakeLists.txt Diff File
mod - core/src/dird/dbcheck.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/stored/bscan.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 668d76a6

2020-04-29 17:18

arogge

Ported: N/A

Details Diff
core: remove lld and llu

This patch removes the definitions of lld and llu, that were rarely used
and could simply be replaced by "lld" and "llu".
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
mod - core/src/dird/catreq.cc Diff File
mod - core/src/filed/status.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/stored/btape.cc Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master dc74d78a

2020-04-29 16:49

arogge

Ported: N/A

Details Diff
core: remove distver constant from message.cc

For the sole purpose of printing its value on a traceback there is a
constant string in message.cc that contains the built-time system
information.
This patch removes the constant and its use in the backtrace scripts.
mod - core/scripts/btraceback.dbx Diff File
mod - core/scripts/btraceback.gdb Diff File
mod - core/src/lib/message.cc Diff File

master e8563891

2020-04-29 16:39

arogge

Ported: N/A

Details Diff
core: provide GetOsInfo() in kBareosVersionStrings

This patch adds a new function GetOsInfo() to kBareosVersionStrings. In
the future this function will be used as a replacement of the DISTVER
definition.
Eventually the GetOsInfo() should retrieve the information at runtime
instead of having it compiled in.

This patch also replaces DISTVER with a call to
kBareosVersionStrings.GetOsInfo() where possible. For windows this means
that we now always report the information obtained at runtime when the
program started.
mod - core/src/console/console.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - core/src/dird/verify.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/status.cc Diff File
mod - core/src/lib/CMakeLists.txt Diff File
add - core/src/lib/osinfo.cc Diff File
add - core/src/lib/osinfo.h Diff File
add - core/src/lib/osinfo_win32.cc Diff File
mod - core/src/lib/version.h Diff File
mod - core/src/stored/status.cc Diff File

master 61227bbb

2020-04-29 14:40

arogge

Ported: N/A

Details Diff
core: remove HOST_OS, always use DISTVER instead
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/include/config.h.in Diff File

master 86c6fa47

2020-04-29 14:20

arogge

Ported: N/A

Details Diff
dir: avoid heap-overflow during verify job

Fixes 0001210: Security vulnerability results in heap overflow in director
when doing a Verify job against a file daemon.

Previously the code did not check that the target buffer that scanf()
wrote into was big enough to fit the data.
This patch now resizes the buffer to the size of the message buffer that
is being parsed ensuring that there is no heap overflow anymore.
Affected Issues
0001210
mod - core/src/dird/fd_cmds.cc Diff File

bareos-17.2 d41779a0

2020-04-29 14:20

arogge

Ported: N/A

Details Diff
dir: avoid heap-overflow during verify job

Fixes 0001210: Security vulnerability results in heap overflow in director
when doing a Verify job against a file daemon.

Previously the code did not check that the target buffer that scanf()
wrote into was big enough to fit the data.
This patch now resizes the buffer to the size of the message buffer that
is being parsed ensuring that there is no heap overflow anymore.

(backport of 86c6fa479a21a1464366babb74e6cf33770ed7ae)
Affected Issues
0001210
mod - src/dird/fd_cmds.c Diff File

bareos-18.2 66c3f31f

2020-04-29 14:20

arogge

Ported: N/A

Details Diff
dir: avoid heap-overflow during verify job

Fixes 0001210: Security vulnerability results in heap overflow in director
when doing a Verify job against a file daemon.

Previously the code did not check that the target buffer that scanf()
wrote into was big enough to fit the data.
This patch now resizes the buffer to the size of the message buffer that
is being parsed ensuring that there is no heap overflow anymore.

(backport of 86c6fa479a21a1464366babb74e6cf33770ed7ae)
Affected Issues
0001210
mod - core/src/dird/fd_cmds.cc Diff File

bareos-19.2 1faaffa4

2020-04-29 14:20

arogge

Ported: N/A

Details Diff
dir: avoid heap-overflow during verify job

Fixes 0001210: Security vulnerability results in heap overflow in director
when doing a Verify job against a file daemon.

Previously the code did not check that the target buffer that scanf()
wrote into was big enough to fit the data.
This patch now resizes the buffer to the size of the message buffer that
is being parsed ensuring that there is no heap overflow anymore.

(cherry picked from commit 86c6fa479a21a1464366babb74e6cf33770ed7ae)
Affected Issues
0001210
mod - core/src/dird/fd_cmds.cc Diff File

bareos-17.2 916b63c7

2020-04-29 14:20

arogge

Ported: N/A

Details Diff
dir: avoid heap-overflow during verify job

Fixes 0001210: Security vulnerability results in heap overflow in director
when doing a Verify job against a file daemon.

Previously the code did not check that the target buffer that scanf()
wrote into was big enough to fit the data.
This patch now resizes the buffer to the size of the message buffer that
is being parsed ensuring that there is no heap overflow anymore.

(backport of 86c6fa479a21a1464366babb74e6cf33770ed7ae)
Affected Issues
0001210
mod - src/dird/fd_cmds.c Diff File

master 565315e4

2020-04-28 21:25

franku


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000497 from bareos/dev/franku/master/testing-docs

dev/franku/master/testing docs
mod - docs/manuals/source/DeveloperGuide.rst Diff File
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos.rst Diff File
add - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/documentation.rst Diff File
add - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/systemtests.rst Diff File

master fc7a7f3f

2020-04-28 18:33

arogge

Ported: N/A

Details Diff
filed: remove support for bVarDistName

The plugin interface allowed to query the platform, distribution and
version of the filedaemon using bVarDistName. This has not been used by
any plugin and the provided value was of questionable quality.
This patch removes support for bVarDistName. Querying it will now raise
an error. The related dist_name from message.cc that was used solely for
this purpose has also been removed.
mod - core/src/filed/fd_plugins.cc Diff File
mod - core/src/lib/message.cc Diff File
mod - core/src/tests/test_fd_plugins.cc Diff File

master 5b5aa28a

2020-04-28 18:05

arogge

Ported: N/A

Details Diff
core: rename DISTNAME to PLATFORM

The DISTNAME contains a Bareos-specific short-name of the platform that
is built. As such it is not the DISTNAME itself, but the Bareos-specific
platform identifier.
This patch now renames DISTNAME to PLATFORM.
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosGenerateDebianInfo.cmake Diff File
mod - core/cmake/BareosGetDistInfo.cmake Diff File
mod - core/cmake/distname.sh Diff File
mod - core/platforms/CMakeLists.txt Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/lib/message.cc Diff File

master 228113a0

2020-04-28 17:37

pstorz


Committer: franku

Ported: N/A

Details Diff
docs: reword introduction for systemtests
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/systemtests.rst Diff File

master 544b82bc

2020-04-28 17:19

frank


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000493 from bareos/dev/fbergkemper/master/s3975
mod - core/src/dird/jcr_private.h Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/ua.h Diff File
mod - core/src/dird/ua_audit.cc Diff File
mod - core/src/dird/ua_restore.cc Diff File
mod - core/src/dird/ua_run.cc Diff File
mod - core/src/dird/ua_tree.cc Diff File

master 9820efa0

2020-04-27 19:13

pstorz

Ported: N/A

Details Diff
systemtests: set default timeout to 90s in all tests
mod - systemtests/CMakeLists.txt Diff File

master 3e85f67a

2020-04-27 19:08

franku

Ported: N/A

Details Diff
docs: add description and diagrams for systemtest
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/systemtests.rst Diff File

master 1519277a

2020-04-27 18:23

franku

Ported: N/A

Details Diff
docs: change the wording of headlines for regression tests
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/regression.rst Diff File
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/systemtests.rst Diff File

master b2c2b9a3

2020-04-27 18:14

franku

Ported: N/A

Details Diff
docs: move chapter Regression Testing below Build and Test
mod - docs/manuals/source/DeveloperGuide.rst Diff File
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos.rst Diff File
add - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/documentation.rst Diff File
add - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/systemtests.rst Diff File

master 08500680

2020-04-27 18:00

arogge

Ported: N/A

Details Diff
core: don't check for socklen_t

This type can be safely assumed to exist.
mod - core/CMakeLists.txt Diff File
mod - core/src/include/bc_types.h Diff File
mod - core/src/include/config.h.in Diff File

master 9bd0c5e3

2020-04-27 17:34

arogge

Ported: N/A

Details Diff
cmake: include module before using it
mod - core/cmake/BareosCheckIncludes.cmake Diff File

master aa367252

2020-04-27 16:08

arogge

Ported: N/A

Details Diff
core: use uintXX_t instead of u_intXX_t

Previously some portions of the code used the non-standard BSD u_intXX_t
type names. This patch changes these into the C99 standard conforming
uintXX_t instead.
mod - core/src/filed/crypto.cc Diff File
mod - core/src/lib/bmtio.h Diff File
mod - core/src/lib/crypto_none.cc Diff File
mod - core/src/lib/crypto_nss.cc Diff File
mod - core/src/lib/scsi_lli.cc Diff File
mod - core/src/lib/sha1.cc Diff File
mod - core/src/lib/sha1.h Diff File
mod - core/src/ndmp/ndmos_freebsd.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 220 221 222 223 224 225 226 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 612 613 614  Next  Last