Skip to content

checksrc: reduce exceptions, apply again to curlx - #17764

Closed
vszakats wants to merge 25 commits into
curl:masterfrom
vszakats:t-checksrc-excp-reduce
Closed

vszakats wants to merge 25 commits into
curl:masterfrom
vszakats:t-checksrc-excp-reduce

Conversation

@vszakats

@vszakats vszakats commented Jun 27, 2025 •

Copy link
Copy Markdown
Member
  • tests/libtest: move exception to stub_gssapi.h.
  • tests/libtest: move remaining exception to testtrace.c.
  • tests/server: drop obsolete exception.
  • docs/examples: move BANNEDFUNC exceptions to local files (3 lines).
  • docs/examples: move ERRNOVAR exception to ephiperfifo.c.
  • docs/examples: drop typedef struct (8 files).
  • lib/curlx: add .checksrc with banned funcs copied from lib.
  • checksrc: ban strncpy, strtok_r, strtoul by default.
    Drop local bans. Add exception for strtoul to `tests/server'.
  • lib, src: sync banned funcs.

Also:

  • REUSE: drop stunnel.pem, it no longer exists.
  • docs/examples: formatting.
  • docs/examples: simplify some sizeof()s.

  • examples: drop typedef struct
  • move some banned funcs to the default checksrc list?

@vszakats
vszakats marked this pull request as draft June 27, 2025 12:36
@github-actions github-actions Bot added the tests label Jun 27, 2025
@vszakats
vszakats marked this pull request as ready for review June 27, 2025 13:10
@vszakats vszakats closed this in f965644 Jun 27, 2025
@vszakats
vszakats deleted the t-checksrc-excp-reduce branch June 27, 2025 15:35
vszakats added a commit that referenced this pull request Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant