Viktor Szakats
2e7c9a0975
src: add SSH2_SAFEFREE() macro and use it
...
Like `SSH2_FREE()` but also assign `NULL` to the freed pointer variable.
Also add checksrc rule to verify.
Ref: #2208
Closes #2209
2026-07-05 12:41:55 +02:00
Viktor Szakats
41d86d3bad
src: introduce SSH2_ERRNO() and use it
...
To avoid conditional code scattered around the source code.
Also: ban direct use of `errno` via checksrc.
Closes #2050
2026-06-12 13:04:56 +02:00
Viktor Szakats
9538c99fc4
badwords: add checker script, fix issues found
...
Checker script and wordlist comes from curl.
Also:
- checksrc.pl: sync up with curl.
- unfold an IETF URL.
- update all IETF URLs where missing.
Closes #1959
2026-06-01 13:22:40 +02:00
Viktor Szakats
001571c1ff
checksrc: add missing semicolon, fix IFDEFSINGLE capture group
...
Pointed out by GitHub Code Quality
Closes #21435
2026-04-24 11:17:21 +02:00
Viktor Szakats
96df6f2f8f
checksrc: add missing items to warnings hash, alpha-sort
2026-04-24 10:03:48 +02:00
Viktor Szakats
d9631cfc86
checksrc: fix code quality findings
...
- fix counting errors.
- fix an error message.
- tidy up regexp syntax.
Pointed out by GitHub Code Quality
2026-04-24 09:48:31 +02:00
Viktor Szakats
bda85e2034
checksrc.pl: delete stray commas
...
Closes #1879
2026-04-23 22:08:45 +02:00
Viktor Szakats
317907545b
tidy-up: rename ci directory to scripts
...
To reduce differences with curl.
Also:
- add most scripts to the source distro tarball. Some were referenced
by build scripts (e.g. `checksrc`).
Closes #1870
2026-04-23 09:09:59 +02:00