-
Notifications
You must be signed in to change notification settings - Fork 78
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
Using [1]
instead of []
breaks the strict bounds checks.
#564
Comments
|
Modern C apparently requires |
Solved upstream: https://sqlite.org/forum/forumpost/909c9aef5c . Checks here are also successful: https://github.com/r-dbi/RSQLite/actions/runs/13891506386 Will be part of one of the next releases. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From CRAN:
We are seeing UBSAN errors in CRAN packages
CAESAR.Suite Cyclops GRIN2 LowWAFOMNX MOCHA Mega2R PAMmisc PANACEA
RecordLinkage SSN2 WGCNA bigsnpr dexter dexterMST epoxy glue idem
netgsa prqlr qtl2 rliger sf snplist storr stream survey taxonomizr winch
most at
vendor/sqlite3/sqlite3.c:111455:20: runtime error: index 2 out of bounds for type 'ExprList_item [1]'
#0 0x7f88b04dd803 in sqlite3ExprListAppend vendor/sqlite3/sqlite3.c:111455
We have been here before: it is found by
-fsanitize=strict-bounds
in GCC.This comes from
That is pre-C99 code, and should be
a[]
.similarly,
should be
[]
Temporarily we have installed RSQLite without using strict-bounds.
Packages GRIN2 Mega2R ProFAST dexter dexterMST rliger
show another issue
vendor/sqlite3/sqlite3.c:79337:14: runtime error: load of address 0x7f2fb0869240 with insufficient space for an object of type 'struct MemPage *'
at
balance_nonroot vendor/sqlite3/sqlite3.c:79337
Please investigate and if necessary report upstream.
The text was updated successfully, but these errors were encountered: