Skip to content

Clamp GetCommandsInRange against the remaining commands so a large count cannot overflow [patch] - #106

Merged
matt-edmondson merged 1 commit into
mainfrom
claude/undoredo-105-range-overflow
Sep 28, 2026
Merged

matt-edmondson merged 1 commit into
mainfrom
claude/undoredo-105-range-overflow

Clamp GetCommandsInRange against the remaining commands so a large co…

118fb51
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 27, 2026 in 29s

Annotations

Check warning on line 256 in UndoRedo.Test/UndoRedoStackTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_UndoRedo&issues=AaDjg2qVavg0Jf5TfxbY&open=AaDjg2qVavg0Jf5TfxbY&pullRequest=106

Check warning on line 257 in UndoRedo.Test/UndoRedoStackTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_UndoRedo&issues=AaDjg2qVavg0Jf5TfxbZ&open=AaDjg2qVavg0Jf5TfxbZ&pullRequest=106

Check warning on line 255 in UndoRedo.Test/UndoRedoStackTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Assert.AreSequenceEqual' instead of 'CollectionAssert.AreEqual'

See more on https://sonarcloud.io/project/issues?id=ktsu-dev_UndoRedo&issues=AaDjg2qVavg0Jf5TfxbX&open=AaDjg2qVavg0Jf5TfxbX&pullRequest=106