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:
matt335672
2026-08-13 11:37:11 +01:00
parent f4249b3ca6
commit a6d80e17ab
5 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -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
View File
@@ -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