]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Always use strncmp() rather than memcmp() when comparing strings where one
authordrh <drh@noemail.net>
Fri, 1 Mar 2013 01:07:17 +0000 (01:07 +0000)
committerdrh <drh@noemail.net>
Fri, 1 Mar 2013 01:07:17 +0000 (01:07 +0000)
commit503a686e09ce03995eef5d9a95ef217532575be5
tree11602fc697bab83aa85d31324c8abb24189560c8
parent016fff2b6eacbf1335e105f430bcd741d771d7f4
Always use strncmp() rather than memcmp() when comparing strings where one
or other string might be less than the length parameter, since optimized
versions of memcmp() might read past the first difference and in so doing
generate an access violation.

FossilOrigin-Name: d73435587ba7459e2e2c32980d0e17abdeceb4bc
manifest
manifest.uuid
src/analyze.c
src/build.c
src/expr.c
src/os_unix.c
src/test_quota.c
src/test_regexp.c
src/test_spellfix.c
src/vdbeapi.c