View Issue Details

IDProjectCategoryView StatusLast Update
0000362bareos-coredirectorpublic2015-03-25 19:18
Reporterpstorz Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product Version14.4.0 
Summary0000362: regression tests using the "weird files" are failing on solaris and Ubuntu 12.4 and 14.4
DescriptionThe two regression tests using "weird files"
* disk:weird-files-test
* disk:hardlink-test

fail on solaris and Ubuntu 12.04 and 14.04.
Additional InformationSeems to have something to do with the despooling of attributes from the local spoolfile and only if the weird-files/This-Is-A-Very-Long-Directory-Name....
is contained in the test.

Without that long directory everything works.

The error happens in function despool_attributes_from_file() in catreq.c.

The buffer that is being realloced is one byte too short, and so the buffer check creates a segfault.
TagsNo tags attached.

Activities

pstorz

pstorz

2014-11-11 15:50

administrator   ~0001057

Fix committed to bareos master branch with changesetid 2324.
mvwieringen

mvwieringen

2014-11-17 11:00

developer   ~0001060

Fix committed to bareos bareos-13.2 branch with changesetid 2326.
mvwieringen

mvwieringen

2014-11-17 11:29

developer   ~0001062

Fix committed to bareos bareos-12.4 branch with changesetid 2330.
mvwieringen

mvwieringen

2014-11-17 14:02

developer   ~0001063

Fix committed to bareos bareos-14.2 branch with changesetid 2338.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001340

Fix committed to bareos2015 bareos-14.2 branch with changesetid 4576.
joergs

joergs

2015-03-25 19:18

developer   ~0001497

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: master 7878fbad

2014-11-11 14:42

pstorz

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

bareos: bareos-13.2 bba17e4b

2014-11-11 14:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

bareos: bareos-12.4 c4e39b8e

2014-11-11 14:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

bareos: bareos-14.2 a6495133

2014-11-11 14:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

bareos2015: bareos-12.4 627e1555

2014-11-11 15:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

bareos2015: bareos-13.2 f432658b

2014-11-11 15:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

bareos2015: bareos-14.2 5a454363

2014-11-11 15:42

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix regression problems with weird-files tests

Fixes 0000362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Affected Issues
0000362
mod - src/dird/catreq.c Diff File

Issue History

Date Modified Username Field Change
2014-11-10 14:33 pstorz New Issue
2014-11-10 14:34 pstorz Assigned To => pstorz
2014-11-10 14:34 pstorz Status new => assigned
2014-11-11 15:50 pstorz Changeset attached => bareos master 7878fbad
2014-11-11 15:50 pstorz Note Added: 0001057
2014-11-11 15:50 pstorz Status assigned => resolved
2014-11-11 15:50 pstorz Resolution open => fixed
2014-11-17 11:00 mvwieringen Changeset attached => bareos bareos-13.2 bba17e4b
2014-11-17 11:00 mvwieringen Note Added: 0001060
2014-11-17 11:00 mvwieringen Assigned To pstorz => mvwieringen
2014-11-17 11:29 mvwieringen Changeset attached => bareos bareos-12.4 c4e39b8e
2014-11-17 11:29 mvwieringen Note Added: 0001062
2014-11-17 14:02 mvwieringen Changeset attached => bareos bareos-14.2 a6495133
2014-11-17 14:02 mvwieringen Note Added: 0001063
2014-12-01 12:21 mvwieringen Status resolved => closed
2014-12-01 12:21 mvwieringen Assigned To mvwieringen =>
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-12.4 627e1555
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-13.2 f432658b
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 5a454363
2015-03-25 16:51 mvwieringen Note Added: 0001340
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:18 joergs Note Added: 0001497
2015-03-25 19:18 joergs Status resolved => closed