Fix #384: Remove the buffer overflow intended by design allowing users to add a null terminator after the buffer end #144
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Cpplint | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| cpplint: | |
| name: cpplint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| key: ${{ runner.os }}-cpplint | |
| path: ~/.cache/pip | |
| - name: Pyhton | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: cpplint | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install --upgrade cpplint | |
| cpplint \ | |
| --repository=. \ | |
| --recursive \ | |
| --filter=-build/c++11,-build/namespaces,-readability/braces,-readability/casting,-readability/todo,-runtime/explicit,-runtime/indentation_namespace,-runtime/int,-runtime/references,-whitespace/blank_line,,-whitespace/braces,-whitespace/comments,-whitespace/indent,-whitespace/line_length,-whitespace/newline,-whitespace/parens \ | |
| lib \ | |
| include \ | |
| src |