mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
primops: Name stack reservation limits
This commit is contained in:
parent
898c47384f
commit
1b9813e4e6
3 changed files with 21 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "eval.hh"
|
||||
#include "eval-settings.hh"
|
||||
#include "hash.hh"
|
||||
#include "primops.hh"
|
||||
#include "types.hh"
|
||||
#include "util.hh"
|
||||
#include "store-api.hh"
|
||||
|
@ -2015,7 +2016,7 @@ void ExprConcatStrings::eval(EvalState & state, Env & env, Value & v)
|
|||
return result;
|
||||
};
|
||||
|
||||
boost::container::small_vector<Value, 16> values(es->size());
|
||||
boost::container::small_vector<Value, conservativeStackReservation> values(es->size());
|
||||
Value * vTmpP = values.data();
|
||||
|
||||
for (auto & [i_pos, i] : *es) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue