commit | cc6719f08251a892e435f8d9d44e9d8fa18d7cbe | [log] [tgz] |
---|---|---|
author | Jeff Hamilton <jham@android.com> | Tue Sep 01 00:29:12 2009 -0500 |
committer | Jeff Hamilton <jham@android.com> | Tue Sep 01 00:29:12 2009 -0500 |
tree | 23ba1c0702542e3f648cfb4126ec63565e5b2537 | |
parent | b020ccd8772182ddfccba30b5adbc500982b59c1 [diff] |
Avoid a buffer overrun in GET_NORMALIZED_STRING. This custom SQL function uses a fixed buffer of 128 characters and would overrun the buffer if passed a longer src string. Also, fix another problem with the function where it was using the incorrect value for next_codepoint. It was reading from the destination array not the source array. Bug: 2089658