Skip to content

Fix exception in swap detection#34

Merged
LordMike merged 2 commits into
DiscUtils:masterfrom
ahdde:Swap
Jul 17, 2017
Merged

Fix exception in swap detection#34
LordMike merged 2 commits into
DiscUtils:masterfrom
ahdde:Swap

Conversation

@zivillian

Copy link
Copy Markdown
Contributor

Fixes an exception which occurs if the Swap detection is run on a FAT filesystem.

@LordMike

Copy link
Copy Markdown
Member

Wouldn't it be more prudent to check if the Magic string is correct before parsing anything from the (supposed) header?

@zivillian

Copy link
Copy Markdown
Contributor Author

I'm totally with you, but I think this should be tracked as a separate enhancement and fixed in all implementations.

@LordMike LordMike merged commit 8c153b9 into DiscUtils:master Jul 17, 2017
@zivillian zivillian deleted the Swap branch July 17, 2017 18:40
LordMike added a commit that referenced this pull request Aug 16, 2017
Includes PRs:
#17, #18, #21, #22, #23, #27, #30, #31, #33, #34, #35, #36, #38, #39, #40, #41, #48, #51, #52, #55, #60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants