Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(911)

Issue 317020043: [plaso] Fix bug in GenerateStorageFileName when the source to process ends with a / (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 4 months ago by romaing
Modified:
7 years, 3 months ago
CC:
kiddi, log2timeline-dev_googlegroups.com
Visibility:
Public.

Description

[plaso] Fix bug in GenerateStorageFileName when the source to process ends with a /

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add specific case when source is Filesystem's root #

Patch Set 3 : Removing whiteline #

Total comments: 4

Patch Set 4 : assess comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -2 lines) Patch
M plaso/cli/extract_analyze_tool.py View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M tests/cli/extract_analyze_tool.py View 1 2 3 chunks +43 lines, -1 line 0 comments Download

Messages

Total messages: 10
romaing
7 years, 4 months ago (2016-12-23 14:39:14 UTC) #1
Joachim Metz
https://codereview.appspot.com/317020043/diff/1/plaso/cli/extract_analyze_tool.py File plaso/cli/extract_analyze_tool.py (right): https://codereview.appspot.com/317020043/diff/1/plaso/cli/extract_analyze_tool.py#newcode40 plaso/cli/extract_analyze_tool.py:40: if source_name == '': I opt: source_name = self._source_path ...
7 years, 4 months ago (2016-12-23 15:06:30 UTC) #2
romaing
Code updated.
7 years, 4 months ago (2016-12-23 16:01:06 UTC) #3
romaing
Code updated.
7 years, 4 months ago (2016-12-23 16:14:39 UTC) #4
romaing
https://codereview.appspot.com/317020043/diff/1/plaso/cli/extract_analyze_tool.py File plaso/cli/extract_analyze_tool.py (right): https://codereview.appspot.com/317020043/diff/1/plaso/cli/extract_analyze_tool.py#newcode40 plaso/cli/extract_analyze_tool.py:40: if source_name == '': On 2016/12/23 15:06:30, Joachim Metz ...
7 years, 4 months ago (2016-12-23 16:14:53 UTC) #5
Joachim Metz
Some suggestions, otherwise LGTM https://codereview.appspot.com/317020043/diff/40001/plaso/cli/extract_analyze_tool.py File plaso/cli/extract_analyze_tool.py (right): https://codereview.appspot.com/317020043/diff/40001/plaso/cli/extract_analyze_tool.py#newcode40 plaso/cli/extract_analyze_tool.py:40: source_path = os.path.realpath(self._source_path) Know that ...
7 years, 4 months ago (2016-12-23 16:40:03 UTC) #6
Joachim Metz
btw "if source_path = os.path.sep:" should be "if source_path == os.path.sep:"
7 years, 4 months ago (2016-12-23 16:40:37 UTC) #7
romaing
Code updated.
7 years, 3 months ago (2017-01-03 12:18:33 UTC) #8
romaing
https://codereview.appspot.com/317020043/diff/40001/plaso/cli/extract_analyze_tool.py File plaso/cli/extract_analyze_tool.py (right): https://codereview.appspot.com/317020043/diff/40001/plaso/cli/extract_analyze_tool.py#newcode40 plaso/cli/extract_analyze_tool.py:40: source_path = os.path.realpath(self._source_path) On 2016/12/23 16:40:03, Joachim Metz wrote: ...
7 years, 3 months ago (2017-01-03 12:18:52 UTC) #9
romaing
7 years, 3 months ago (2017-01-03 13:39:18 UTC) #10
Changes have been merged with master branch. To close the review and clean up
the feature branch you can run: python ./utils/review.py close
psteal-storage-filename-fix
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b