Skip to content

checksrc: reduce exceptions, apply again to curlx #17764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 25 commits into from

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
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