1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix of crashes of connect engine.

Use size_t everywhere and remove suspicious expression.
This commit is contained in:
Oleksandr Byelkin
2021-02-03 15:35:32 +01:00
parent 87bf594bc5
commit c04ae0d365
3 changed files with 24 additions and 24 deletions

View File

@@ -1670,7 +1670,7 @@ PBVAL BJNX::ParseJsonFile(PGLOBAL g, char *fn, int& pty, size_t& len)
len = (size_t)mm.lenL;
if (mm.lenH)
len += ((size_t)mm.lenH * 0x000000001LL);
len += mm.lenH;
memory = (char *)mm.memory;