Skip to content

checksrc: reduce exceptions, apply again to curlx#17764

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

checksrc: reduce exceptions, apply again to curlx#17764
vszakats wants to merge 25 commits intocurl:masterfrom
vszakats:t-checksrc-excp-reduce

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jun 27, 2025

  • 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

Comments