How to reproduce:
1. Open the attached project "ProfilerLoadReturnRepro"
2. Go to [Internal link] -> Run ProfilerDriver.LoadProfile return-value cases
3. Observe the Console
Expected results: Every input that loads no frames is reported as a failure, the same way a 4-byte, 8-byte or arbitrary-text file already is - returning False and logging "Profiler data stream has invalid signature"
Actual results: Files of 0, 1, 2 and 3 bytes return True and log nothing at all, while loading no frames (firstFrameIndex/lastFrameIndex stay at -1)
Reproducible with: 6000.0.81f1, 6000.3.17f1, 6000.5.9f1, 6000.6.0b9, 6000.7.0a5
Reproducible on: macOS Tahoe 26.6 (M1 Max)
Not reproducible on: No other environment tested