-
Notifications
You must be signed in to change notification settings - Fork 259
Fix: Resolved deterministic memory leak and dangling pointer in SQLParser::tokenize #262
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
base: main
Are you sure you want to change the base?
Changes from all commits
dd347ac
2b254f3
571dc22
14c5621
23e894d
20603d2
79f3c33
644e35a
745c930
c67194c
802ac0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,8 @@ jobs: | |
| env: | ||
| CC: ${{matrix.cc}} | ||
| CXX: ${{matrix.cxx}} | ||
| CXXFLAGS: ${{matrix.env_cxxflags}} | ||
| LDFLAGS: ${{matrix.env_ldflags}} | ||
| defaults: | ||
| run: | ||
| shell: bash | ||
|
|
@@ -46,9 +48,24 @@ jobs: | |
| cxx: clang++ | ||
| os: macos-latest | ||
|
|
||
| - name: clang-sanitizer-ubuntu | ||
| cc: clang-19 | ||
| cxx: clang++-19 | ||
| os: ubuntu-latest | ||
| container: ubuntu:24.04 | ||
| env_cxxflags: "-fsanitize=address,undefined" | ||
| env_ldflags: "-fsanitize=address,undefined" | ||
|
|
||
| - name: clang-sanitizer-macOS | ||
| cc: clang | ||
| cxx: clang++ | ||
| os: macos-latest | ||
| env_cxxflags: "-fsanitize=address,undefined" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't had a deeper look, but this thread describes the same issue as with the latest CI run: https://stackoverflow.com/a/40215639/1147726 |
||
| env_ldflags: "-fsanitize=address,undefined" | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v6 | ||
| if: matrix.name != 'gcc-6' | ||
|
|
||
| - name: Checkout (Ubuntu 18.04) | ||
|
|
@@ -67,17 +84,17 @@ jobs: | |
| git checkout $GITHUB_HEAD_REF | ||
|
|
||
| - name: Setup (macOS) | ||
| if: matrix.name == 'clang-macOS' | ||
| if: matrix.os == 'macos-latest' | ||
| run: | | ||
| brew install bison flex | ||
| echo "BISON=$(brew --prefix bison)/bin/bison" >> $GITHUB_ENV | ||
| echo "FLEX=$(brew --prefix flex)/bin/flex" >> $GITHUB_ENV | ||
|
|
||
| - name: Setup (Ubuntu) | ||
| if: matrix.name != 'clang-macOS' | ||
| if: matrix.os == 'ubuntu-latest' | ||
| run: | | ||
| apt-get update | ||
| apt-get install --no-install-recommends -y bison flex ${CC} ${CXX} make valgrind | ||
| apt-get install --no-install-recommends -y bison flex ${CC} ${CXX} make valgrind ${{ matrix.name == 'clang-sanitizer-ubuntu' && 'libclang-rt-19-dev' || '' }} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please add a comment for this line? It's not easy to read. |
||
| echo "BISON=bison" >> $GITHUB_ENV | ||
| echo "FLEX=flex" >> $GITHUB_ENV | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if we need this additional "runs" (whatever those are called) here. Can't we have that as a last step on the existing clang runs (
name: clang-19andname: clang-macOS)?