libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
1038 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libsql-sys/src/connection.rs | 421 | // unsafe impl<'a> Send for Connection<'a> {} |
| LOW | libsql-sys/src/connection.rs | 441 | // path: impl AsRef<std::path::Path>, |
| LOW | libsql-sys/src/connection.rs | 461 | // // the returned connection. |
| LOW | libsql-sys/src/connection.rs | 481 | // } |
| LOW | libsql-sys/src/connection.rs | 501 | // crate::ffi::sqlite3_close(self.conn as *mut _); |
| LOW | libsql-sqlite3/ltmain.sh | 1 | # Generated from ltmain.m4sh. |
| LOW | libsql-sqlite3/ltmain.sh | 21 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
| LOW | libsql-sqlite3/ltmain.sh | 41 | # --quiet, --silent don't print informational messages |
| LOW | libsql-sqlite3/ltmain.sh | 61 | # include the following information: |
| LOW | libsql-sqlite3/ltmain.sh | 141 | ' |
| LOW | libsql-sqlite3/ltmain.sh | 2941 | # wrapper executable. Must ONLY be called from within |
| LOW | libsql-sqlite3/ltmain.sh | 2961 | } |
| LOW | libsql-sqlite3/ltmain.sh | 3041 | # following $build/$host combinations (but does no harm for |
| LOW | libsql-sqlite3/ltmain.sh | 3161 | # include <direct.h> |
| LOW | libsql-sqlite3/ltmain.sh | 3181 | #include <string.h> |
| LOW | libsql-sqlite3/ltmain.sh | 3201 | |
| LOW | libsql-sqlite3/ltmain.sh | 3221 | # endif |
| LOW | libsql-sqlite3/ltmain.sh | 3241 | # define FOPEN_WB "wb" |
| LOW | libsql-sqlite3/ltmain.sh | 6001 | # FIXME: Pedantically, this is the right thing to do, so |
| LOW | libsql-sqlite3/ltmain.sh | 7121 | test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then |
| LOW | libsql-sqlite3/ltmain.sh | 8441 | # them. This is particularly important on AIX, because we don't |
| LOW | libsql-sqlite3/magic.txt | 1 | # This file contains suggested magic(5) text for the unix file(1) |
| LOW | libsql-sqlite3/benchmark/benchtest.c | 1 | #include "../parse.h" |
| LOW | libsql-sqlite3/benchmark/anntest.c | 1 | #include "../parse.h" |
| LOW | libsql-sqlite3/test/fuzzcheck.c | 81 | #include <stdio.h> |
| LOW | libsql-sqlite3/test/kvtest.c | 121 | #include "sqlite3.h" |
| LOW | libsql-sqlite3/test/speedtest1.c | 61 | #include <ctype.h> |
| LOW | libsql-sqlite3/test/threadtest3.c | 41 | #define opendb(w,x,y,z) (SEL(w), opendb_x(w,x,y,z)) |
| LOW | libsql-sqlite3/test/threadtest3.c | 81 | |
| LOW | libsql-sqlite3/test/wordcount.c | 61 | ** gcc -I. -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION \ |
| LOW | libsql-sqlite3/test/dbfuzz.c | 21 | ** the fuzzed database. |
| LOW | libsql-sqlite3/test/json/json-speed-check.sh | 1 | #!/bin/bash |
| LOW | libsql-sqlite3/ext/misc/fileio.c | 81 | #include "sqlite3ext.h" |
| LOW | libsql-sqlite3/ext/misc/fileio.c | 101 | # ifndef chmod |
| LOW | libsql-sqlite3/ext/misc/base85.c | 81 | #include <assert.h> |
| LOW | libsql-sqlite3/ext/misc/sqlite3_stdio.c | 21 | #define WIN32_LEAN_AND_MEAN |
| LOW | libsql-sqlite3/ext/misc/sqlite3_stdio.c | 41 | ** or O_TEXT (depending on things like the .mode and the .crlf setting |
| LOW | libsql-sqlite3/ext/misc/stmt.c | 81 | char **pzErr |
| LOW | libsql-sqlite3/ext/misc/carray.h | 41 | #define CARRAY_INT64 1 /* Data is 64-bit signed integers */ |
| LOW | libsql-sqlite3/ext/misc/zipfile.c | 41 | */ |
| LOW | libsql-sqlite3/ext/misc/zipfile.c | 61 | # define UINT16_TYPE unsigned short int |
| LOW | libsql-sqlite3/ext/misc/vfsstat.c | 81 | /* |
| LOW | libsql-sqlite3/ext/misc/regexp.c | 81 | #define RE_OP_ANY 2 /* Match any one character. (Implements ".") */ |
| LOW | libsql-sqlite3/ext/misc/csv.c | 41 | */ |
| LOW | libsql-sqlite3/ext/misc/qpvtab.c | 141 | #define QPVTAB_VN 0 |
| LOW | libsql-sqlite3/ext/misc/unionvtab.c | 161 | #ifndef ALWAYS |
| LOW | libsql-sqlite3/ext/misc/sqlite3_stdio.h | 41 | void sqlite3_fsetmode(FILE *stream, int mode); |
| LOW | libsql-sqlite3/ext/misc/base64.c | 61 | # define deliberate_fall_through __attribute__((fallthrough)); |
| LOW | libsql-sqlite3/ext/misc/btreeinfo.c | 61 | ** SELECT name FROM sqlite_btreeinfo |
| LOW | libsql-sqlite3/ext/misc/normalize.c | 81 | #define CC_DOLLAR 4 /* '$' */ |
| LOW | libsql-sqlite3/ext/misc/normalize.c | 261 | #define TK_SEMI TK_PUNCT |
| LOW | libsql-sqlite3/ext/misc/normalize.c | 281 | #define TK_ID TK_NAME |
| LOW | libsql-sqlite3/ext/misc/carray.c | 61 | void *iov_base; |
| LOW | libsql-sqlite3/ext/misc/shathree.c | 181 | # define a11 (p->u.s[6]) |
| LOW | libsql-sqlite3/ext/misc/spellfix.c | 21 | # if !defined(NDEBUG) && !defined(SQLITE_DEBUG) |
| LOW | libsql-sqlite3/ext/consio/console_io.c | 21 | #ifndef SHELL_NO_SYSINC |
| LOW | libsql-sqlite3/ext/consio/console_io.c | 41 | # undef WIN32_LEAN_AND_MEAN |
| LOW | libsql-sqlite3/ext/consio/console_io.c | 81 | # define SHELL_INVALID_CONS_MODE 0xFFFF0000 |
| LOW | libsql-sqlite3/ext/consio/console_io.c | 761 | # endif |
| LOW | libsql-sqlite3/ext/async/sqlite3async.h | 221 | #endif |
| 907 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 462 | new org.sqlite.jni.capi.OutputPointer.Int64(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 464 | new org.sqlite.jni.capi.OutputPointer.Int64(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 480 | new org.sqlite.jni.capi.OutputPointer.Int32(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 482 | new org.sqlite.jni.capi.OutputPointer.Int32(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 695 | new org.sqlite.jni.capi.OutputPointer.sqlite3_stmt(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 697 | new org.sqlite.jni.capi.OutputPointer.Int32(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 809 | new org.sqlite.jni.capi.OutputPointer.Int32(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 910 | = new org.sqlite.jni.capi.OutputPointer.String(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 912 | = new org.sqlite.jni.capi.OutputPointer.String(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 914 | = new org.sqlite.jni.capi.OutputPointer.Bool(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 916 | = new org.sqlite.jni.capi.OutputPointer.Bool(); |
| CRITICAL | …qlite3/ext/jni/src/org/sqlite/jni/wrapper1/Sqlite.java | 918 | = new org.sqlite.jni.capi.OutputPointer.Bool(); |
| CRITICAL | …sqlite3/ext/jni/src/org/sqlite/jni/capi/SQLTester.java | 460 | sb.append(org.sqlite.jni.capi.ResultCode.getEntryForInt(rc)).append(' '); |
| CRITICAL | …lite3/ext/jni/src/org/sqlite/jni/tester/SQLTester.java | 460 | sb.append(org.sqlite.jni.capi.ResultCode.getEntryForInt(rc)).append(' '); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libsql-sqlite3/ltmain.sh | 899 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | libsql-sqlite3/ltmain.sh | 910 | # This function implements the same check as func_lalib_p without |
| MEDIUM | libsql-sqlite3/ltmain.sh | 933 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | libsql-sqlite3/ltmain.sh | 942 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | libsql-sqlite3/ltmain.sh | 970 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | libsql-sqlite3/ltmain.sh | 1071 | # Create a libtool object file (analogous to a ".la" file), |
| MEDIUM | libsql-sqlite3/ltmain.sh | 4944 | # Create the object directory. |
| MEDIUM | libsql-sqlite3/ltmain.sh | 7454 | # Create the old-style object. |
| MEDIUM | libsql-sqlite3/ltmain.sh | 7474 | # Create an invalid libtool object if no PIC, so that we don't |
| MEDIUM | libsql-sqlite3/contrib/bootstrap.fedora.sh | 23 | # Create the m4/ directory if it doesn't exist. |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 1229 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 1240 | # This function implements the same check as func_lalib_p without |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 1263 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 1272 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 1297 | # This function is only a basic sanity check; it will hardly flush out |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 1433 | # Create a libtool object file (analogous to a ".la" file), |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 6028 | # Create the object directory. |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 8656 | # Create the old-style object. |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 8676 | # Create an invalid libtool object if no PIC, so that we don't |
| MEDIUM | .github/workflows/libsql-server-release.yml | 256 | # Create a GitHub Release while uploading all files to it |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libsql-sqlite3/ext/fts3/unicode/CaseFolding.txt | 30 | # ================================================================================ |
| MEDIUM | libsql-sqlite3/ext/fts3/unicode/CaseFolding.txt | 32 | # ================================================================================ |
| MEDIUM | libsql-sqlite3/ext/fts3/unicode/CaseFolding.txt | 54 | # ================================================================= |
| MEDIUM | libsql-sqlite3/ext/fts3/unicode/CaseFolding.txt | 63 | # ================================================================= |
| MEDIUM | libsql-server/src/h2c.rs | 29 | //! ┌───────────────┐ upgrade:h2c ┌──────────────────┐ |
| MEDIUM | libsql-server/src/h2c.rs | 30 | //! │ http::request ├────────────────────────►│ upgrade to http2 │ |
| MEDIUM | libsql-server/src/h2c.rs | 31 | //! └─────┬─────────┘ └────────┬─────────┘ |
| MEDIUM | libsql-server/src/h2c.rs | 37 | //! │ ┌─────────────────┐ │ |
| MEDIUM | libsql-server/src/h2c.rs | 38 | //! └────────────►│call axum router │◄───────────┘ |
| MEDIUM | libsql-server/src/h2c.rs | 39 | //! └─────────────────┘ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libsql-sqlite3/ltmain.sh | 210 | # Sed substitution that helps us do robust quoting. It backslashifies |
| MEDIUM | libsql-sqlite3/ltmain.sh | 2726 | # Sed substitution that helps us do robust quoting. It backslashifies |
| MEDIUM | libsql-sqlite3/ltmain.sh | 6538 | # This code stresses the "libraries are programs" paradigm to its |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 397 | # Sed substitution that helps us do robust quoting. It backslashifies |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 3852 | # Sed substitution that helps us do robust quoting. It backslashifies |
| MEDIUM | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 7681 | # This code stresses the "libraries are programs" paradigm to its |
| MEDIUM | bottomless/src/replicator.rs | 1172 | // it should be more robust and continue looking if the first item does not |
| MEDIUM | libsql-server/src/schema/scheduler.rs | 286 | // the code more robust when there are spurious wakups that would cause to this |
| MEDIUM | libsql-server/src/replication/snapshot.rs | 190 | // FIXME(marin): we somehow need to make this code more robust. How to deal with a |
| MEDIUM | vendored/rusqlite/src/lib.rs | 644 | /// likely to be more robust. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libsql-sqlite3/ltmain.sh | 1717 | # Check if any of the arguments is a wrapper script. |
| LOW | libsql-sqlite3/ltmain.sh | 7186 | # Loop over the list of objects to be linked. |
| LOW | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 2593 | # Check if any of the arguments is a wrapper script. |
| LOW | …ndled/SQLite3MultipleCiphers/admin/build-aux/ltmain.sh | 8382 | # Loop over the list of objects to be linked. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …i/bundled/SQLite3MultipleCiphers/scripts/amalgamate.py | 31 | |
| LOW | …i/bundled/SQLite3MultipleCiphers/scripts/amalgamate.py | 32 | |
| LOW | …i/bundled/SQLite3MultipleCiphers/scripts/amalgamate.py | 33 | |
| LOW | …i/bundled/SQLite3MultipleCiphers/scripts/amalgamate.py | 40 | |
| LOW | libsql-server/scripts/gen_certs.py | 11 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libsql-server/src/http/user/dump.rs | 50 | // The stream was closed but we need to check if the dump task failed and forward the |
| LOW | scripts/update-sqlite-bundle.sh | 30 | # Step 1: regenerate the Rust bindings. |
| LOW | scripts/update-sqlite-bundle.sh | 37 | # Step 2: regenerate the C amalgamation in both bundled locations using the |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | libsql-sqlite3/ext/jni/README.md | 68 | System.out.print("Error opening db: "+sqlite3_errmsg(db)); |
| MEDIUM | libsql-sqlite3/ext/jni/README.md | 70 | System.out.print("Error opening db: rc="+rc); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libsql-server/src/schema/status.rs | 156 | // don't forget to update that! |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | libsql-sqlite3/tool/vectoridx_graphviz.py | 13 | def neighbour_metadata_offset(block_size, v_type, v_dims): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …i/bundled/SQLite3MultipleCiphers/scripts/amalgamate.py | 135 |