optimize derivation parsing
(cherry picked from commit 3511430902941f0f26dc71313a54bb5096f57305)
Change-Id: I00f76dcd464a5811944613731501af504b6e8c29
7 lines
223 B
Markdown
7 lines
223 B
Markdown
---
|
|
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.
|