修正certstore_rpc_on_succ()中添加字符串结尾0导致内存越界的问题
This commit is contained in:
@@ -26,8 +26,7 @@ int decrypt_mirror_on_open_cb(const struct tfe_stream * stream, unsigned int thr
|
||||
enum tfe_stream_action decrypt_mirror_on_data_cb(const struct tfe_stream * stream, unsigned int thread_id,
|
||||
enum tfe_conn_dir dir, const unsigned char * data, size_t len, void ** pme)
|
||||
{
|
||||
int ret=0;
|
||||
ret=mirror_stream_write(dir, data,len, pme, thread_id);
|
||||
mirror_stream_write(dir, data,len, pme, thread_id);
|
||||
return ACTION_FORWARD_DATA;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user