summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-05-08 17:37:52 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-05-16 18:28:27 +0200
commitfe5cbe71f019d96aa2a1cc314846df684a01d0db (patch)
tree33f880318096cfd7a2e9faf1cfc03173d0c6b2c7 /ChangeLog
parent54537: Coverity CID 1372427 buffer overrun in zexecve() (diff)
downloadzsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.tar
zsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.tar.gz
zsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.tar.bz2
zsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.tar.lz
zsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.tar.xz
zsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.tar.zst
zsh-fe5cbe71f019d96aa2a1cc314846df684a01d0db.zip
54538: Coverity CID 1637382 bsiz can overflow when reading a large heredoc
Use a size_t and explicit size check, although presumably the realloc will fail long before we get to this point. In theory if we did, though, the code would loop forever with bsiz==0 which wouldn't be great.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f844ad0dd..22d2f6883 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2026-05-16 Mikael Magnusson <mikachu@gmail.com>
+ * 54538: Src/exec.c: Coverity CID 1637382 bsiz can overflow when
+ reading a large heredoc
+
* 54537: Src/exec.c: Coverity CID 1372427 buffer overrun in
zexecve()