Code quality: Address Copilot review comments
All accesses to g_drdynvcs[] in chansrv.c have been checked for unbounded access.
This commit is contained in:
+1
-1
@@ -439,7 +439,7 @@ dyn_dechunker_process_first_chunk(struct dyn_dechunker *self,
|
||||
}
|
||||
else if (frag_size == total_size)
|
||||
{
|
||||
// This chunk ccontains all the data
|
||||
// This chunk contains all the data
|
||||
status = E_DYN_INLINE_CHUNK;
|
||||
}
|
||||
else
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ enum vc_dechunker_status
|
||||
};
|
||||
|
||||
/**
|
||||
* Returned from dyn_dechunker_process_chunk() and
|
||||
* Returned from dyn_dechunker_process_data_chunk() and
|
||||
* Returned from dyn_dechunker_process_first_chunk()
|
||||
*/
|
||||
enum dyn_dechunker_status
|
||||
|
||||
Reference in New Issue
Block a user