]> git.evergreen-ils.org Git - working/Evergreen.git/commit
1. In oils_sql.c: make the functions is_identifier() and is_good_operator()
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Jun 2010 12:34:43 +0000 (12:34 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Jun 2010 12:34:43 +0000 (12:34 +0000)
commit5f62a571b55c0651e947de839e92c7c817ce9465
treeb28f079a3e590432bdda4beb4aa87a8319b0cb52
parent362bccb583f775aaf55111c16cfab2bf93994a0d
1. In oils_sql.c: make the functions is_identifier() and is_good_operator()
global instead of static.

2. Use them to protect qstore against various forms of sql injection.

M    Open-ILS/include/openils/oils_sql.h
M    Open-ILS/src/c-apps/oils_storedq.c
M    Open-ILS/src/c-apps/oils_sql.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16771 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/include/openils/oils_sql.h
Open-ILS/src/c-apps/oils_sql.c
Open-ILS/src/c-apps/oils_storedq.c