Skip to content

build: fix stray debug string in LIEF defines#62683

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
om-ghante: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 intonodejs:mainfrom
om-ghante:fix/lief-remove-stray-debug-string

Conversation

@om-ghante
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
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

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

@nodejs-github-bot 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 richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 13, 2026
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 13, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@richardlau richardlau added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 13, 2026
@nodejs-github-bot 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 nodejs-github-bot merged commit d080801 into nodejs:main Apr 13, 2026
78 checks passed
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Landed in d080801

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 pending requests for changes, and a CI started. 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.

5 participants