In oils_cstore.c:
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Apr 2009 13:12:36 +0000 (13:12 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Apr 2009 13:12:36 +0000 (13:12 +0000)
commite99858671db19e07e61224757ff9f8bc14706c8c
tree0b5ab2a0defa74828e0881712cf0b19438ae7a24
parentff7154614b59c73c5f6f338ca2cdc7e87c7455e2
In oils_cstore.c:

1. Check the return code from all calls to SELECT().

2. In searchValueTransform(): insist that the function name be in a
JSON_STRING.

3. In searchFieldTransformPredicate(): screen the operator string for
SQL injection.

4. In searchFieldTransformPredicate(): insert another layer of
parentheses to avoid ambiguity.

5. Eliminated extraneous parameters on some calls to osrfLogError().

6. In searchFieldTransformPredicate(): disallow comparisons to
nulls and booleans.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12810 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_cstore.c