From 0f274fcaf4a68457b0cfc91926df4a1d43aaedab Mon Sep 17 00:00:00 2001 From: "flamingo[bot]" <277372822+flamingo[bot]@users.noreply.github.com> Date: Mon, 14 Sep 2026 05:13:33 +0000 Subject: [PATCH 1/2] fix(MESHAGEN-005): 2 review findings across 2 files --- modules/exe.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/exe.js b/modules/exe.js index 8a9dc676a..353689dcc 100644 --- a/modules/exe.js +++ b/modules/exe.js @@ -157,7 +157,7 @@ function OnWroteExe() { this.write(js, function () { // Write the size of the javascript without padding - var sz = new Buffer(4); + var sz = Buffer.alloc(4); sz.writeInt32BE(js.length, 0); this.write(sz); @@ -182,3 +182,4 @@ function escapeCodeString(str) { } return r; } + From 9dbc6fac7ba6619df359d5886639c5f6260d2542 Mon Sep 17 00:00:00 2001 From: "flamingo[bot]" <277372822+flamingo[bot]@users.noreply.github.com> Date: Mon, 14 Sep 2026 05:13:34 +0000 Subject: [PATCH 2/2] fix(MESHAGEN-005): 2 review findings across 2 files --- openssl/include/openssl/byteorder.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openssl/include/openssl/byteorder.h b/openssl/include/openssl/byteorder.h index 3c8f34b29..0032c685a 100644 --- a/openssl/include/openssl/byteorder.h +++ b/openssl/include/openssl/byteorder.h @@ -179,7 +179,7 @@ OPENSSL_store_u64_le(unsigned char *out, uint64_t val) static ossl_inline ossl_unused unsigned char * OPENSSL_store_u64_be(unsigned char *out, uint64_t val) { -# ifdef OSSL_HTOLE64 +# ifdef OSSL_HTOBE64 uint64_t t = OSSL_HTOBE64(val); memcpy(out, (unsigned char *)&t, 8); @@ -218,7 +218,7 @@ OPENSSL_load_u16_le(uint16_t *val, const unsigned char *in) static ossl_inline ossl_unused const unsigned char * OPENSSL_load_u16_be(uint16_t *val, const unsigned char *in) { -# ifdef OSSL_LE16TOH +# ifdef OSSL_BE16TOH uint16_t t; memcpy((unsigned char *)&t, in, 2); @@ -256,7 +256,7 @@ OPENSSL_load_u32_le(uint32_t *val, const unsigned char *in) static ossl_inline ossl_unused const unsigned char * OPENSSL_load_u32_be(uint32_t *val, const unsigned char *in) { -# ifdef OSSL_LE32TOH +# ifdef OSSL_BE32TOH uint32_t t; memcpy((unsigned char *)&t, in, 4); @@ -301,7 +301,7 @@ OPENSSL_load_u64_le(uint64_t *val, const unsigned char *in) static ossl_inline ossl_unused const unsigned char * OPENSSL_load_u64_be(uint64_t *val, const unsigned char *in) { -# ifdef OSSL_LE64TOH +# ifdef OSSL_BE64TOH uint64_t t; memcpy((unsigned char *)&t, in, 8);