Open jmp0x7c00 opened 2 years ago
same bugs in file win/Enclave/Steam2.cpp
:
line 49:
*buf = (char*)malloc(len+1);
memcpy(*buf, query, len);
(*buf)[len] = 0;
return len;
and line 115
*resp = (char*)malloc(len+1);
memcpy(*resp, query, len);
and line 69:
*buf = (char*)malloc(len+1);
memcpy(*buf, query, len);
(*buf)[len] = 0;
file win/Enclave/Current_Yahoo.cpp
:
line 20:
*buf = (char*)malloc(len+1);
memcpy(*buf, query, len);
and file win/Enclave/Current_Google.cpp
line 48
and file win/Enclave/Transaction.cpp
line 202
and file /win/Enclave/Flight.cpp
line 64
and file win/Enclave/ECDAS.c
line 101
Thanks. Do you want to submit a PR?
in file
win/Enclave/Current_bloomberg.cpp
:and here: