FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: fix stray debug string in LIEF defines by omghante · Pull Request #62683 · nodejs/node · GitHub

/ node Public

build: fix stray debug string in LIEF defines - #62683

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
omghante:fix/lief-remove-stray-debug-string
Apr 13, 2026
Merged

build: fix stray debug string in LIEF defines#62683
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
omghante:fix/lief-remove-stray-debug-string

Conversation

Copy link
Copy Markdown
Contributor

A stray debug string 'testtttt' in lief.gyp's defines list was missing
a trailing comma, causing it to be concatenated with the adjacent
MBEDTLS_CONFIG_FILE define via GYP's implicit string concatenation.

Current (broken): -DtestttttMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

Expected (fixed): -DMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

This means mbedtls was never receiving its intended config file path. Remove
the stray string so MBEDTLS_CONFIG_FILE is defined correctly.

Risk

Fixing this define may change mbedtls behavior if it was previously falling
back to a default config. Reviewers should verify that
config/mbedtls/config.h is the correct config path and that LIEF's mbedtls
usage works correctly with it.

Related: PR #62682 addresses the duplicate C++ standard flags in the same file.

Refs: #62129

A stray debug string 'testtttt' in lief.gyp's defines list was missing
a trailing comma, causing it to be concatenated with the adjacent
MBEDTLS_CONFIG_FILE define via implicit string concatenation. This
resulted in the compiler receiving:

  -DtestttttMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

instead of:

  -DMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

Remove the stray string so that MBEDTLS_CONFIG_FILE is defined
correctly.

Refs: nodejs#62129

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/single-executable

nodejs-github-bot added dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. labels Apr 10, 2026
richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 13, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 13, 2026

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

richardlau added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 13, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 13, 2026
nodejs-github-bot merged commit d080801 into nodejs:main Apr 13, 2026
78 checks passed

Copy link
Copy Markdown
Collaborator

Landed in d080801

aduh95 pushed a commit that referenced this pull request May 5, 2026
A stray debug string 'testtttt' in lief.gyp's defines list was missing
a trailing comma, causing it to be concatenated with the adjacent
MBEDTLS_CONFIG_FILE define via implicit string concatenation. This
resulted in the compiler receiving:

  -DtestttttMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

instead of:

  -DMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

Remove the stray string so that MBEDTLS_CONFIG_FILE is defined
correctly.

Refs: #62129
PR-URL: #62683
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit to himself65/node that referenced this pull request May 7, 2026
A stray debug string 'testtttt' in lief.gyp's defines list was missing
a trailing comma, causing it to be concatenated with the adjacent
MBEDTLS_CONFIG_FILE define via implicit string concatenation. This
resulted in the compiler receiving:

  -DtestttttMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

instead of:

  -DMBEDTLS_CONFIG_FILE="config/mbedtls/config.h"

Remove the stray string so that MBEDTLS_CONFIG_FILE is defined
correctly.

Refs: nodejs#62129
PR-URL: nodejs#62683
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 added the backport-open-v24.x Indicate that the PR has an open backport label May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. backport-open-v24.x Indicate that the PR has an open backport dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL