Repository navigation
fix: literal \n in -fno-ctx-members usage line; add issue #15 post-mortem doc - #25
Merged
Merged
Conversation
sleevetosleeve
force-pushed
the
vibe/help-text-and-postmortem-d2e85d
branch
from
November 28, 2026 08:32
1233946 to
9036a60
Compare
…rtem The -fno-ctx-members entry in asn1c -h printed a literal \n because the usage string used an escaped backslash-n (\\n) instead of a newline. Verified against a fresh build: the line now wraps correctly. Also adds docs/issue-15-postmortem.md recording the external decode context feature lifecycle: the arena frame-aliasing bug caught only when converter-example was onboarded (#21) and the allocator-macro escape caught downstream (#22), why the harnesses missed both, and what would catch them earlier. Follows the existing docs/issue-NNN-*.md review pattern. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai> Co-authored-by: sleevetosleeve <sleevetosleeve@users.noreply.github.com>
sleevetosleeve
force-pushed
the
vibe/help-text-and-postmortem-d2e85d
branch
from
November 28, 2026 10:36
9036a60 to
563d50c
Compare
sleevetosleeve
marked this pull request as ready for review
November 28, 2026 10:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
-fno-ctx-membersentry inasn1c -hprinted a literal\nbecause the usage string inasn1c/asn1c.cused an escaped backslash-n (\\n) instead of a real newline. Fixed to\n; verified against a fresh build (asn1c -hnow wraps the line correctly). Scanned the rest of the usage text and the man page for the same mistake — none.docs/issue-15-s2s-postmortem.md, following the repo's existingdocs/issue-NNN-*.mdreview pattern: the Feature request: external decode context (-fno-ctx-members) #15 feature timeline across PRs docs: propose external decode context (-fno-ctx-members) #14/feat: external decode context for BER/CER (-fno-ctx-members), Phase 0 #17/feat: per-codec external-context decode entry points (-fno-ctx-members, Phases 1-4) #18/feat: onboard converter-example, document and harden the external ctx (-fno-ctx-members, issue #15) #21/fix: route external-ctx arena heap overflow through allocator macros (issue #15 amendment) #22, the two defects found late (arena frame aliasing, allocator-macro escape), why the test harnesses missed both, and what would have caught them earlier (onboard converter-example in phase 1, wrapper-shaped regression type, allocator-macro contract grep/CI variant).Related issues
-fno-ctx-members) #15 (post-mortem documentation).Type of change
Testing
autoreconf -fi, out-of-tree configure,asn1cbuilds;asn1c -houtput verified visually.tests-asn1c-compiler19/19 PASS on this branch (usage string is not snapshot-tested; no other references to the old text).Checklist
vlm_master