Skip to content

Fixes from the 2026-11 audit, part 1 - #355

Merged
FreeAndNil merged 14 commits into
masterfrom
Feature/2026-11-audit-part-1
Nov 9, 2026
Merged

FreeAndNil merged 14 commits into
masterfrom
Feature/2026-11-audit-part-1

Conversation

@FreeAndNil

Copy link
Copy Markdown
Contributor

Fixes from the 2026-11 audit, part 1

@FreeAndNil
FreeAndNil force-pushed the Feature/2026-11-audit-part-1 branch from d9276a8 to 7b0dd1f Compare November 9, 2026 19:55
@FreeAndNil
FreeAndNil changed the base branch from master to Feature/2.x November 9, 2026 20:08
@FreeAndNil
FreeAndNil changed the base branch from Feature/2.x to master November 9, 2026 20:09
FreeAndNil and others added 14 commits November 9, 2026 21:09
…-2PJSIJWL)

- Both IndexOf calls in Transform.WriteEscapedXmlString
…l appenders (ANT-2026-3WK17LYB)

- Escaping encoder fallback in ContentEscape, all four hand-offs
- Analyzers 10.0.114, 8.0.0 flags extension members with CA1822
- SmtpAppender validates messageBody for CA1062
- Tests look up ContentEscape once
- Message and category, both reach the same native call
- Tests for both Debug.Write overloads, listener records every write
- Docs on the trace appender page, API remarks, changelog
- NUL and lone surrogates escaped before binding, Size cut keeps pairs whole
- Docs and changelog ask for a UTF-8 database, name the string types
- Give up only while the database has not accepted an insert
- Manual documents the cap, the first-five gap and the round trip cost
- Fake provider reset in SetUp, remarks corrected
- Per-event writer in RenderLoggingEvent, categories of Trace, Debug and AspNetTrace
- Pattern width cut keeps surrogate pairs whole
- Trace and Debug report a failed flush, sink calls in Telnet and SmtpPickupDir removed
…5JHYT)

- TruncateToBytes in small chunks, keeps characters and pairs whole
- UdpAppender docs name both default encodings
- VB.NET receiver sample removed, C# sample fixed
- FromAsync plus ContinueWith as before 3.0.0, deterministic nesting test
- Failed accept logged or retried after 100 ms, the delay untested on purpose
- Late accept and late client after Dispose closed
…HYT)

- Default 204800 UTF-8 bytes, cut before EscapePercent, per line in Split mode
- Each cut reported through ErrorHandler
- Records computed by a private method, tested by reflection
…-D8I8WODV)

- MailBodies shared by Ext.Mail and the legacy SmtpAppender, default 1 MiB
- Each mail sent on its own, one enqueue deadline per batch
- Oversize record cut, no-room header and footer reported at activation
- Base64 for UTF-16 and UTF-32, where CR and LF bytes occur inside characters
- Fake transport keeps the raw message, tests for a bare CR on every code page
- README, manual and changelog name the encoding and the wire size
- ContentEscape.EscapeLoneCarriageReturns, a regex, CRLF kept
- Each event rendered to a string and escaped before it is written
- Manual names Sendmail and the CR at an event boundary
…-2026-SWV3M1YH)

- HttpRequestExtensions: Classic taken, Buffered tried, None and Bufferless left out
- Keyed lookup in the indexer order without an unread form
- net462 tests incl. buffered and bufferless reads, XML remark and manual note
@FreeAndNil
FreeAndNil force-pushed the Feature/2026-11-audit-part-1 branch from 7b0dd1f to 6fe906d Compare November 9, 2026 20:10
@FreeAndNil
FreeAndNil merged commit 08d3e83 into master Nov 9, 2026
3 checks passed
@FreeAndNil
FreeAndNil deleted the Feature/2026-11-audit-part-1 branch November 9, 2026 20:21
FreeAndNil added a commit that referenced this pull request Nov 9, 2026
- PR link and ANT id in all 13 entries
- bump version to 3.6.0
FreeAndNil added a commit that referenced this pull request Nov 9, 2026
FreeAndNil added a commit that referenced this pull request Nov 9, 2026
@FreeAndNil FreeAndNil added this to the 3.6.0 milestone Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant