Mingjie Shen

Results 47 issues of Mingjie Shen

- The type of timestamp is long. Thus it should be printed with '%ld'. - For format string "%0*d", the width specified should be of type int.

Calling 'strncpy' with the size of the source buffer as the third argument may result in a buffer overflow.

Format for IOT_Log_Gen (in a macro expansion) expects 1 arguments but given 0.

Buffer write operations that do not control the length of data written may overflow. Also, the scanf format string "%[^\n]s" is ill-formed. It contains two independent format specifiers: "%[^\n]" followed...

Separately checking the state of a file before operating on it may allow an attacker to modify the file between the two operations.

This call had more arguments than required by vaapi_init_lib, defined in src/video/ffmpeg_vaapi.c. **Description** **Purpose**

sizeof(ctx) evaluates to the size of the pointer type, which is not what we want. We should zero the struct that ctx points to.

Check return values of SySetPeek() and SySetAt() for null.