Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e15bc6edb8 |
No files matched your search
@@ -35,6 +35,22 @@ numeric core and does not move; the heading is the full version — corrected 20
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- **The guard's source reads in order again** (developers only; no behaviour changes): the note that says what runs only
|
||||
for a target the anti-cheat evaluation allowed sits above the function it describes again — beta.33's two isolation
|
||||
checks had come between them — and names that isolation check among what runs
|
||||
(`src/native/FrameLedger.Injector/src/fl_guard.cpp`).
|
||||
|
||||
### Fixed
|
||||
|
||||
- **An Xbox game's page no longer fails on a strange picture name** in the game's own `MicrosoftGame.config` (beta.33's):
|
||||
a name that points at a stream of a file (`a:b.png`) made the search for its scaled variants throw — the page then
|
||||
showed no picture and logged an error, and an action on the page that reloads it could end in the crash report. Such a
|
||||
name is no picture a package ships, so it is passed over like a name outside the package
|
||||
(`src/FrameLedger.Infrastructure/Art/XboxArtCache.cs`). Found by a self-review of #351 and #352 after their gates
|
||||
passed; no install of the owner's eleven titles has such a name.
|
||||
|
||||
## Releases
|
||||
|
||||
Newest first. Each file holds that release's section exactly as it stood here.
|
||||
|
||||
@@ -67,6 +67,13 @@ public sealed class XboxArtCache : IStoreArtCache
|
||||
return null; // a name that escapes the package is not the package's picture
|
||||
}
|
||||
|
||||
if (Path.GetFileName(full).Contains(':', StringComparison.Ordinal))
|
||||
{
|
||||
// A file's stream (name:stream) is no picture a package ships, and the scale search below would throw on one
|
||||
// named like a drive ("a:b.png" makes the pattern "a:b.scale-*.png", which EnumerateFiles refuses; beta.34).
|
||||
return null;
|
||||
}
|
||||
|
||||
var plain = new FileInfo(full);
|
||||
if (plain.Exists && plain.Length > 0)
|
||||
{
|
||||
|
||||
@@ -718,9 +718,6 @@ Verdict EvaluateImpl(std::uint32_t targetPid, const Sources& sources, const char
|
||||
return Allow();
|
||||
}
|
||||
|
||||
// A refusal returns here, and there is no argument that changes that (the `acknowledged` flag of 2026-09-21 was
|
||||
// withdrawn on 2026-09-22 with the bypass it served). Everything below -- the payload's existence, the payload's
|
||||
// identity, the primitive, the bitness answer -- runs only for a target the full evaluation allowed.
|
||||
// beta.33 (D78) -- the first policy in `facts` the Overlay cannot live under, named for the refusal's signal; null
|
||||
// when there is none. Which one names a refusal changes nothing a user can do, so the order is just winnt.h's.
|
||||
const char* BlockingMitigation(const TargetIsolation& facts) noexcept {
|
||||
@@ -765,6 +762,10 @@ Verdict TargetIsolationVerdict(std::uint32_t targetPid, const Sources& sources)
|
||||
return Allow();
|
||||
}
|
||||
|
||||
// A refusal returns here, and there is no argument that changes that (the `acknowledged` flag of 2026-09-21 was
|
||||
// withdrawn on 2026-09-22 with the bypass it served). Everything below -- the payload's existence, the payload's
|
||||
// identity, the target's isolation, the primitive, the bitness answer -- runs only for a target the full evaluation
|
||||
// allowed.
|
||||
Verdict GuardedInjectImpl(std::uint32_t targetPid, const wchar_t* dllPath, const Sources& sources,
|
||||
const char* toleratedFamilies) noexcept {
|
||||
const Verdict v = EvaluateImpl(targetPid, sources, toleratedFamilies);
|
||||
|
||||
@@ -159,6 +159,8 @@ public sealed class XboxLibrarySourceTests : IDisposable
|
||||
files.Cover.Should().BeNull("a GDK package ships no portrait cover");
|
||||
XboxArtCache.Image(content, @"..\..\outside.png").Should().BeNull("a name that escapes the package is not the package's picture");
|
||||
XboxArtCache.Image(content, @"C:\Windows\System32\shell32.dll").Should().BeNull();
|
||||
XboxArtCache.Image(content, @"Resources\a:b.png").Should().BeNull("a file's stream is not a picture, and its scale search threw (beta.34)");
|
||||
XboxArtCache.Image(content, @"Resources\Square480x480Logo.png:Zone.Identifier").Should().BeNull();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user