mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-03 21:29:23 +00:00
[PR #398] [MERGED] Fix minor nested json issue #544
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/BinaryObjectScanner/pull/398
Author: @HeroponRikiBestest
Created: 12/2/2025
Status: ✅ Merged
Merged: 12/2/2025
Merged by: @mnadareski
Base:
master← Head:minor-json-fix📝 Commits (1)
0f17f05Fix minor nested json issue📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
ProtectionScan/Features/MainFeature.cs(+1 -0)📄 Description
I had one minor oversight in my existing implementation- if you scan a top-level directory/archive with protection, and it's the only thing that winds up having protection, nested json output crashes since it's expected that
would have ran, but that code hasn't been reached yet.
This issue only really impacted cases where nested json isn't needed anyways, but I'd still rather not leave faulty code in this function, especially if it gets moved to serialization later.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.