[PATCH 1/2] Win::Hivex::Regedit: Accept CRLF line endings
16 Jan
2020
16 Jan
'20
12:11 p.m.
--- perl/lib/Win/Hivex/Regedit.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/lib/Win/Hivex/Regedit.pm b/perl/lib/Win/Hivex/Regedit.pm index 34426f1..2b17036 100644 --- a/perl/lib/Win/Hivex/Regedit.pm +++ b/perl/lib/Win/Hivex/Regedit.pm @@ -144,6 +144,7 @@ sub reg_import # this is fairly common in pasted regedit files. $lineno++; chomp; + s/\r$//; if (s/\\\s*$//) { $_ .= <$fh>; redo unless eof ($fh); -- 2.25.0
2473
Age (days ago)
2473
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vladimir Panteleev