Skip to content

Commit

Permalink
Fix a potential stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tleedjarv committed Dec 14, 2023
1 parent 8de49e9 commit b2d3a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files.ml
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ let copy
setDirPropOnRoot rootTo
(workingDir, pTo, initialDesc, desc')) >>= fun () ->
Lwt.return (Update.ArchiveDir (desc, newChildren),
List.flatten pathl)
Safelist.flatten pathl)
| Update.NoArchive ->
assert false)
(fun e ->
Expand Down

0 comments on commit b2d3a5b

Please sign in to comment.