Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Sep 30, 2025

Also add a test case.


Probably the two regexes could be merged into one. (I didn't succeed)

@github-actions github-actions bot added the tests label Sep 30, 2025
@vszakats vszakats changed the title checksrc: fix to catch banned functions when preceded by ( checksrc: catch banned functions when preceded by ( Sep 30, 2025
@vszakats vszakats closed this in 684f4cd Sep 30, 2025
@vszakats vszakats deleted the checksrcbanf branch September 30, 2025 11:17
vszakats added a commit to vszakats/curl that referenced this pull request Oct 3, 2025
```
Unmatched ) in regex; marked by <-- HERE in m/  \*buffer_len = \(ssize_t) <-- HERE
  strtol\(/ at /home/runner/work/curl/curl/scripts/checksrc.pl line 916, <$R> line 380.
```
Ref: https://github.com/curl/curl/actions/runs/18209824275/job/51848079550#step:3:5

Follow-up to 684f4cd curl#18779
vszakats added a commit that referenced this pull request Oct 3, 2025
Fixing:
```
Unmatched ) in regex; marked by <-- HERE in m/  \*buffer_len = \(ssize_t) <-- HERE
  strtol\(/ at /home/runner/work/curl/curl/scripts/checksrc.pl line 916, <$R> line 380.
```
Ref: https://github.com/curl/curl/actions/runs/18209824275/job/51848079550#step:3:5

Also add a test case.

Follow-up to 684f4cd #18779
Cherry-picked from #18823
Closes #18836
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