Nix/src/libexpr
Mel Zuser 61d6fe059e
Fix boost::bad_format_string exception in builtins.addErrorContext (#9291)
* Fix boost::bad_format_string exception in builtins.addErrorContext

The message passed to addTrace was incorrectly being used as a format
string and this this would cause an exception when the string contained
a '%', which can be hit in places where arbitrary file paths are
interpolated.

* add test
2023-11-06 19:13:40 +00:00
..
flake Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
primops fetchGit and flake: add publicKeys list input 2023-11-03 20:23:31 +01:00
tests Merge pull request #9177 from edolstra/input-accessors 2023-10-23 11:42:04 +02:00
value Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
attr-path.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
attr-path.hh Merge remote-tracking branch 'upstream/master' into source-path 2023-04-17 11:41:50 +02:00
attr-set.cc Don't pass Symbol by reference 2022-04-26 13:25:17 +02:00
attr-set.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-cache.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
eval-cache.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-inline.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-settings.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
eval-settings.hh Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
eval.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
eval.hh Introduce MemoryInputAccessor and use it for corepkgs 2023-10-18 17:38:11 +02:00
fetchurl.nix fetchurl.nix: change other use of __impure 2022-09-16 01:54:24 -07:00
function-trace.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
function-trace.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
get-drvs.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
get-drvs.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
imported-drv-to-derivation.nix Move some corepkgs into the nix binary 2020-03-11 16:57:48 +01:00
json-to-value.cc return string_views from forceString* 2022-01-27 17:15:43 +01:00
json-to-value.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
lexer.l libexpr: use thread_local to make the parser thread-safe 2023-07-03 16:05:43 +08:00
local.mk Enable -Werror=switch-enum 2023-04-03 18:45:20 +02:00
nix-expr.pc.in Fix building with GCC 9 2023-02-10 18:38:57 +01:00
nixexpr.cc Expr: remove redundant int and float fields 2023-09-12 13:45:45 +02:00
nixexpr.hh Introduce FSInputAccessor and use it 2023-10-18 17:37:32 +02:00
parser.y Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
paths.cc Introduce FSInputAccessor and use it 2023-10-18 17:37:32 +02:00
primops.cc Fix boost::bad_format_string exception in builtins.addErrorContext (#9291) 2023-11-06 19:13:40 +00:00
primops.hh Automatically document builtin constants 2023-06-27 09:37:54 -04:00
print.cc libexpr: quote reserved keys when printing 2023-05-09 09:45:12 -05:00
print.hh libexpr: quote reserved keys when printing 2023-05-09 09:45:12 -05:00
search-path.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
search-path.hh Clean up SearchPath 2023-07-09 23:22:22 -04:00
symbol-table.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
value-to-json.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
value-to-json.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value-to-xml.cc Split up util.{hh,cc} 2023-11-05 12:20:02 -05:00
value-to-xml.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value.hh Introduce FSInputAccessor and use it 2023-10-18 17:37:32 +02:00