| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
|
Review requested:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
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>
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>
| Back | FazBrowse Home | New Git URL |
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