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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user