aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:36:51 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:36:51 +0100
commitcd326a2aa4a5ad9118a56d2eff459c73b2ec9226 (patch)
tree60f110c542c9e33e3eeb27319db3f02e838016c4 /doc
parent96f1a404d08d1dd00ef395bcdc53c7599c860ecf (diff)
Merge pull request #9673 from pennae/drv-parse-opts
optimize derivation parsing (cherry picked from commit 3511430902941f0f26dc71313a54bb5096f57305) Change-Id: I00f76dcd464a5811944613731501af504b6e8c29
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/rl-next/drv-string-parse-hang.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/rl-next/drv-string-parse-hang.md b/doc/manual/rl-next/drv-string-parse-hang.md
new file mode 100644
index 000000000..1e041d3e9
--- /dev/null
+++ b/doc/manual/rl-next/drv-string-parse-hang.md
@@ -0,0 +1,6 @@
+---
+synopsis: Fix handling of truncated `.drv` files.
+prs: 9673
+---
+
+Previously a `.drv` that was truncated in the middle of a string would case nix to enter an infinite loop, eventually exhausting all memory and crashing.