Skip to content

Harden Visio comments loading to prevent XML DoS #4528

Harden Visio comments loading to prevent XML DoS

Harden Visio comments loading to prevent XML DoS #4528

Triggered via pull request June 16, 2026 12:10
Status Success
Total duration 17m 49s
Artifacts 4

dotnet-tests.yml

on: pull_request
Matrix: macOS platform smoke
Matrix: test-ubuntu-matrix
Matrix: Cross-platform build
Fit to window
Zoom out
Zoom in

Annotations

92 warnings
AOT/Trim analyzers: OfficeIMO.Examples/Visio/ExternalStencilGallery.cs#L73
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Program.cs#L25
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Google/GoogleWorkspaceExampleSession.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/RowsFromObjects.PriorityProperties.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
AOT/Trim analyzers: OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Excel/RowsFromObjects.PriorityProperties.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
macOS platform smoke (net8.0): OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Excel/RowsFromObjects.PriorityProperties.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (ubuntu-latest): OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Google/GoogleWorkspaceExampleSession.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Cross-platform build (windows-latest): OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Google/GoogleWorkspaceExampleSession.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Excel/RowsFromObjects.PriorityProperties.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Windows: OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Google/GoogleWorkspaceExampleSession.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net10.0: OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Ubuntu net8.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Google/GoogleWorkspaceExampleSession.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Ubuntu net8.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L16
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Excel/RowsFromObjects.cs#L9
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Google/GoogleWorkspaceExampleSession.cs#L5
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Markdown/Markdown07_Custom_Extensions.cs#L154
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Excel/InsertObjects.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Shared/ObjectDataHelpers.cs#L74
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Helpers/Guard.cs#L14
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Helpers/Guard.cs#L6
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Ubuntu net8.0: OfficeIMO.Examples/Helpers/AnchoredDiagram.cs#L23
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Artifacts

Produced during runtime
Name Size Digest
test-results-macos-net8.0
26.2 KB
sha256:3f033ce8973dfffa3332b28228282736ba2776c1b7b4c3286853db83d8fbfed2
test-results-ubuntu-net10.0
2.42 MB
sha256:a68a6a5b69ed8aa20b80d55411e8b6254a33a27c995305ddadf921470aa4e5e2
test-results-ubuntu-net8.0
2.42 MB
sha256:cf5e85a640521569f0a6eda7e7bab6456fe8208b7f09308e144c8c1457d5da13
test-results-windows
4.44 KB
sha256:4914432a5c4628c3eaf4b763a896528d011068280a1d7d0ff29da086da6f3ee7