[PR #17] [MERGED] Add extra validity checks for GCF #41

Open
opened 2026-01-29 21:16:45 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SabreTools/SabreTools.Serialization/pull/17
Author: @HeroponRikiBestest
Created: 7/12/2025
Status: Merged
Merged: 7/12/2025
Merged by: @mnadareski

Base: mainHead: quakeET-falsepositive-GCF-md5b


📝 Commits (2)

  • 8bb25d7 Add extra validity checks for GCF
  • 1cb0fbf Remove "for validity"

📊 Changes

1 file changed (+9 additions, -2 deletions)

View changed files

📝 SabreTools.Serialization/Deserializers/GCF.cs (+9 -2)

📄 Description

Fixes false GCF detection on idtech 5 md5 binary model format https://github.com/SabreTools/BinaryObjectScanner/issues/376 . Adds a few extra validity checks mentioned in HLLib, specifically

47de5d5fed/HLLib/GCFFile.h (L104)
47de5d5fed/HLLib/GCFFile.h (L109)

which should avoid any other false positives from Enemy Territory's md5b files.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SabreTools/SabreTools.Serialization/pull/17 **Author:** [@HeroponRikiBestest](https://github.com/HeroponRikiBestest) **Created:** 7/12/2025 **Status:** ✅ Merged **Merged:** 7/12/2025 **Merged by:** [@mnadareski](https://github.com/mnadareski) **Base:** `main` ← **Head:** `quakeET-falsepositive-GCF-md5b` --- ### 📝 Commits (2) - [`8bb25d7`](https://github.com/SabreTools/SabreTools.Serialization/commit/8bb25d76038a7c4d4f08611446fac8be3cdef511) Add extra validity checks for GCF - [`1cb0fbf`](https://github.com/SabreTools/SabreTools.Serialization/commit/1cb0fbff3427f15d7bd234e7d99c79c156aa6ce3) Remove "for validity" ### 📊 Changes **1 file changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `SabreTools.Serialization/Deserializers/GCF.cs` (+9 -2) </details> ### 📄 Description Fixes false GCF detection on idtech 5 md5 binary model format https://github.com/SabreTools/BinaryObjectScanner/issues/376 . Adds a few extra validity checks mentioned in HLLib, specifically https://github.com/Rupan/HLLib/blob/47de5d5fed1b4d8e160c20f50d0bf61999996161/HLLib/GCFFile.h#L104 https://github.com/Rupan/HLLib/blob/47de5d5fed1b4d8e160c20f50d0bf61999996161/HLLib/GCFFile.h#L109 which should avoid any other false positives from Enemy Territory's md5b files. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 21:16:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/SabreTools.Serialization#41