Changesets: bareos

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

master f3bd208c

2020-04-27 15:53

gjelu

Ported: N/A

Details Diff
fix fadvise - issue 1227
mod - core/src/findlib/bfile.cc Diff File

master e69ae289

2020-04-27 14:25

arogge

Ported: N/A

Details Diff
core: use stdint.h where possible

Previously bc_types.h declared a lot of types itself. As of C99 the
compiler provides these types if they are available on the platform, so
we don't need any tricks for this anymore.
This patch removes most of the fixed-width integer aliasing in favor of
the standard-provided fixed-width types.
mod - core/CMakeLists.txt Diff File
rm - core/cmake/BareosTypeSizes.cmake Diff File
mod - core/src/include/bc_types.h Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 310b1be0

2020-04-27 13:34

readonly


Committer: franku

Ported: N/A

Details Diff
postgres-plugin: stop with error, if accurate is enabled

- typos and pep8 / black formatted
mod - core/src/plugins/filed/BareosFdPluginPostgres.py Diff File
mod - core/src/plugins/filed/bareos-fd-postgres.py Diff File

master b25dc5ad

2020-04-27 13:12

readonly


Committer: franku

Ported: N/A

Details Diff
docs: postgres-plugin PR comment

format string

Co-Authored-By: Jörg Steffens <joergsteffens@users.noreply.github.com>
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master 02a9f4d5

2020-04-27 13:09

readonly


Committer: franku

Ported: N/A

Details Diff
postgres-plugin: accept PR comments

Typo

Co-Authored-By: Frank Ueberschar <frank.ueberschar@bareos.com>
mod - core/src/plugins/filed/BareosFdPluginPostgres.py Diff File
mod - core/src/plugins/filed/bareos-fd-postgres.py Diff File

master 45aed685

2020-04-27 12:45

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000492 from arogge/dev/arogge/deprecation-messages

add infrastructure for configuration warnings
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/status.cc Diff File
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/parse_conf_state_machine.cc Diff File
add - core/src/lib/status_packet.cc Diff File
mod - core/src/plugins/stored/scsicrypto-sd.cc Diff File
mod - core/src/stored/spool.cc Diff File
mod - core/src/stored/spool.h Diff File
mod - core/src/stored/status.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - docs/manuals/source/TasksAndConcepts/BareosConsole.rst Diff File

master 1b062873

2020-04-27 12:41

pstorz

Ported: N/A

Details Diff
ua_prune.cc: skip volume prune information if no job is pruned

Fixes 0001234: Log spammed with "0 jobs that will be pruned" after upgrade
Affected Issues
0001234
mod - core/src/dird/ua_prune.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 213 214 215 216 217 218 219 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 604 605 606  Next  Last