We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e4150 commit 5c40a89Copy full SHA for 5c40a89
erts/emulator/beam/erl_bif_re.c
@@ -737,9 +737,14 @@ re_import_1(BIF_ALIST_1)
737
const byte *encoded;
738
Uint encoded_sz;
739
740
- if (hdr_sz != EXPORTED_HDR_SZ) {
+ /*
741
+ * Allow header to contain more unknow data that we ignore.
742
+ * Could be new optional features (such as checksum over fallback)
743
+ * that was added while being forward compatible.
744
+ */
745
+ /*if (hdr_sz != EXPORTED_HDR_SZ) {
746
goto badarg;
- }
747
+ }*/
748
749
encoded = erts_get_aligned_binary_bytes(tpl[5], &encoded_sz,
750
&encoded_tmp_alloc);
0 commit comments