Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
1b21dcc1
Commit
1b21dcc1
authored
15 years ago
by
Brian Carrier
Browse files
Options
Downloads
Patches
Plain Diff
Changed CreateFile flags for split images to allow READ_SHARE rights
parent
8e5857c8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.txt
+4
-0
4 additions, 0 deletions
CHANGES.txt
tsk3/img/split.c
+1
-1
1 addition, 1 deletion
tsk3/img/split.c
with
5 additions
and
1 deletion
CHANGES.txt
+
4
−
0
View file @
1b21dcc1
...
@@ -89,6 +89,10 @@ lines. Suggested by Simson Garfinkel.
...
@@ -89,6 +89,10 @@ lines. Suggested by Simson Garfinkel.
4/28/09: Update: Added ability to build windows executables in VS w/out
4/28/09: Update: Added ability to build windows executables in VS w/out
needing other image format libraries.
needing other image format libraries.
4/29/09: Bug Fix: Added the READ_SHARE option to the CreateFile command
for split image files. Patch by Christopher Siwy.
---------------- VERSION 3.0.0 --------------
---------------- VERSION 3.0.0 --------------
0/00/00: Update: Many, many, many API changes.
0/00/00: Update: Many, many, many API changes.
...
...
This diff is collapsed.
Click to expand it.
tsk3/img/split.c
+
1
−
1
View file @
1b21dcc1
...
@@ -60,7 +60,7 @@ split_read_segment(IMG_SPLIT_INFO * split_info, int idx, char *buf,
...
@@ -60,7 +60,7 @@ split_read_segment(IMG_SPLIT_INFO * split_info, int idx, char *buf,
#ifdef TSK_WIN32
#ifdef TSK_WIN32
if
((
cimg
->
fd
=
CreateFile
(
split_info
->
images
[
idx
],
FILE_READ_DATA
,
if
((
cimg
->
fd
=
CreateFile
(
split_info
->
images
[
idx
],
FILE_READ_DATA
,
0
,
0
,
OPEN_EXISTING
,
0
,
0
))
==
INVALID_HANDLE_VALUE
)
{
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
))
==
INVALID_HANDLE_VALUE
)
{
tsk_error_reset
();
tsk_error_reset
();
tsk_errno
=
TSK_ERR_IMG_OPEN
;
tsk_errno
=
TSK_ERR_IMG_OPEN
;
snprintf
(
tsk_errstr
,
TSK_ERRSTR_L
,
snprintf
(
tsk_errstr
,
TSK_ERRSTR_L
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment