View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000640 | bareos-core | file daemon | public | 2016-04-07 17:00 | 2016-10-13 11:55 |
Reporter | mvwieringen | Assigned To | mvwieringen | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows 8 | OS | Windows | OS Version | 8 |
Product Version | 15.2.3 | ||||
Summary | 0000640: File daemon crashed after restoring sparse file on windows | ||||
Description | See https://msdn.microsoft.com/en-us/library/windows/desktop/aa364596%28v=vs.85%29.aspx see we need to provide a bytesreturned variable to the DeviceIoControl call when lpOverlapped is NULL From the API page: If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when an operation returns no output data and lpOutBuffer is NULL, DeviceIoControl makes use of lpBytesReturned. After such an operation, the value of lpBytesReturned is meaningless. | ||||
Tags | No tags attached. | ||||
Fix committed to bareos master branch with changesetid 6188. | |
Fix committed to bareos bareos-14.2 branch with changesetid 6420. | |
Closed, release done | |
bareos: master 93c4a5d0 2016-04-07 19:03 Ported: N/A Details Diff |
win32: Fix crash on restore of sparse files. See https://msdn.microsoft.com/en-us/library/windows/desktop/aa364596%28v=vs.85%29.aspx [^] see we need to provide a bytesreturned variable to the DeviceIoControl call when lpOverlapped is NULL From the API page: If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when an operation returns no output data and lpOutBuffer is NULL, DeviceIoControl makes use of lpBytesReturned. After such an operation, the value of lpBytesReturned is meaningless. Fixes 0000640: File daemon crashed after restoring sparse file on windows |
Affected Issues 0000640 |
|
mod - src/win32/compat/compat.c | Diff File | ||
bareos: bareos-14.2 93e5f8f7 2016-04-07 19:03 Ported: N/A Details Diff |
win32: Fix crash on restore of sparse files. See https://msdn.microsoft.com/en-us/library/windows/desktop/aa364596%28v=vs.85%29.aspx [^] see we need to provide a bytesreturned variable to the DeviceIoControl call when lpOverlapped is NULL From the API page: If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when an operation returns no output data and lpOutBuffer is NULL, DeviceIoControl makes use of lpBytesReturned. After such an operation, the value of lpBytesReturned is meaningless. Fixes 0000640: File daemon crashed after restoring sparse file on windows |
Affected Issues 0000640 |
|
mod - src/win32/compat/compat.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-07 17:00 | mvwieringen | New Issue | |
2016-04-07 17:00 | mvwieringen | Status | new => assigned |
2016-04-07 17:00 | mvwieringen | Assigned To | => mvwieringen |
2016-04-08 16:14 | mvwieringen | Changeset attached | => bareos master 93c4a5d0 |
2016-04-08 16:14 | mvwieringen | Note Added: 0002232 | |
2016-04-08 16:14 | mvwieringen | Status | assigned => resolved |
2016-04-08 16:14 | mvwieringen | Resolution | open => fixed |
2016-06-14 11:28 | maik | Relationship added | child of 0000641 |
2016-07-05 11:42 | joergs | Relationship added | child of 0000584 |
2016-07-08 14:34 | mvwieringen | Changeset attached | => bareos bareos-14.2 93e5f8f7 |
2016-07-08 14:34 | mvwieringen | Note Added: 0002312 | |
2016-10-13 11:55 | maik | Note Added: 0002385 | |
2016-10-13 11:55 | maik | Status | resolved => closed |