]> git.evergreen-ils.org Git - Evergreen.git/commit
In searchINPredicate function of oils_cstore.c: tighten
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Mar 2009 13:55:48 +0000 (13:55 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Mar 2009 13:55:48 +0000 (13:55 +0000)
commitaa0403b54d8d195819832978936137c2c43fa661
treeb894237139e3b9ef328f9bb9423e1bc7b7df1a92
parentbb0e41dedd94cb5c6c80df7a274e02e9a332a24c
In searchINPredicate function of oils_cstore.c: tighten
input validation.

1. Require that the operand of IN or NOT IN be either a
JSON_ARRAY or a JSON_OBJECT.

2. Require that an item in an IN list be either a
JSON_STRING or a JSON_NUMBER.

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