EricZimmerman / Registry

Full featured, offline Registry parser in C#
MIT License
220 stars 52 forks source link

Update to resolve an unhandled exception that occurs when NK is null #21

Closed rhensing-code closed 2 years ago

rhensing-code commented 2 years ago

Encountered a situation parsing a SOFTWARE hive where the parsed NkCellRecord came back null which caused a null reference exception when trying to set nk.IsReferenced = true;.

Adding the null check allows parsing to continue.

EricZimmerman commented 2 years ago

thanks for the PR!