Merge branch 'dev' of https://github.com/mdbtools/mdbtools into bounds-check-mdb-bind-column

This commit is contained in:
James Woodcock
2020-10-31 09:38:03 +00:00
18 changed files with 183 additions and 110 deletions

View File

@@ -383,7 +383,7 @@ mdb_index_hash_text(MdbHandle *mdb, char *text, char *hash)
{
#ifdef __MSWSTR_H__
char *out_ptr = alloca((len+1)*2);
int i;
unsigned int i;
// mdb_ascii2unicode doesn't work, we don't want unicode compression!
for (i=0; i<len+1; i++) {
out_ptr[i*2] = text[i];