Files
n8n-openai-adapter/lib/elixir/lib
Panagiotis Nezis dd1f52917c Fix File.cp_r/3 infinite loop when copying into subdirectory of source (#15148)
When destination is a subdirectory of source, `cp_r` would enter an
infinite loop because the newly created destination directory would
be included in the file listing during recursion. This can **cause disk
exhaustion** if large files are present under source.

This adds a validation check that returns `{:error, :einval, destination}`
when copying on a subdir of the source path.

Also document typical error reasons including the new `:einval` case.
2026-03-08 11:03:10 +01:00
..
2025-04-08 08:40:33 +02:00
2026-01-09 09:20:06 +01:00
2025-09-22 21:15:48 +02:00
2025-06-10 11:17:04 +02:00
2025-11-15 06:18:33 -08:00
2026-03-06 17:36:07 +01:00