mirror of
https://github.com/openai/codex.git
synced 2026-12-05 01:00:54 +00:00
Harden code mode host I/O
This commit is contained in:
@@ -80,7 +80,7 @@ where
|
||||
})?;
|
||||
if payload.len() > MAX_FRAME_BYTES {
|
||||
return Err(io::Error::new(
|
||||
io::ErrorKind::InvalidData,
|
||||
io::ErrorKind::InvalidInput,
|
||||
format!(
|
||||
"code-mode IPC frame length {} exceeds {MAX_FRAME_BYTES} bytes",
|
||||
payload.len()
|
||||
|
||||
Reference in New Issue
Block a user