Commit 27cc90f
build: fix C string encoding for
Since the `PRODUCT_DIR_ABS` gyp variable is meant to be used
in a C string in the OpenSSL config, provide a version of it
that actually provides it in a way that is always usable as a
C string. Otherwise, unescaped characters in the path can mess
with the string definitions; for example, building in paths
on Windows whose directories start with valid or invalid escape
sequences (e.g.: `C:\...\x61foobar\...` or `C:\...\456789\...`)
can result in failing builds or incorrect paths provided to
OpenSSL.
PR-URL: #56111
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>PRODUCT_DIR_ABS
1 parent 98ea499 commit 27cc90fCopy full SHA for 27cc90f
File tree
Expand file treeCollapse file tree
1 file changed
+3
-9
lines changedOpen diff view settings
Filter options
- deps/openssl
Expand file treeCollapse file tree
1 file changed
+3
-9
lines changedOpen diff view settings
Collapse file
+3-9Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
9 | | - |
10 | | - |
11 | 8 | |
12 | | - |
13 | | - |
| 9 | + |
14 | 10 | |
15 | | - |
16 | | - |
| 11 | + |
17 | 12 | |
18 | 13 | |
19 | | - |
20 | | - |
| 14 | + |
21 | 15 | |
22 | 16 | |
23 | 17 | |
|
0 commit comments