Skip to content

Fix two buffer overflows

Zurab Kvachadze dash 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2expand: Fix negative size parameter to memmove in subevalvar()src/expand.c+2 -32 replies
2/2expand: pmatch(): Fix buffer overread caused by passing array of chars as stringsrc/expand.c+3 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix two buffer overflows

This little patch series fixes two memory bugs in dash. One was reported by Kate Deplaix and the second one was accidentally found upon testing a potential fix.

Zurab Kvachadze (2):
expand: Fix negative size parameter to memmove in subevalvar()
expand: pmatch(): Fix buffer overread caused by passing array of chars
as string

 src/expand.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.45.3