[File] Error on test_rust.wasm from envoy-proxy

Dr. Werner Fink werner at suse.de
Mon Jun 22 10:05:54 UTC 2020


Hi,

the latest file 5.39 shows an error message:

 boole:/ # file tmp/test_rust.wasm 
 tmp/test_rust.wasm: ERROR: Bad magic format `version %#x (MVP)' (bad format char: #)
 boole:/ # file --version
 file-5.39
 magic file from /etc/magic:/usr/share/misc/magic

whereas the old one does not. Interesting the entry had not changed

 0       string  \0asm   WebAssembly (wasm) binary module
 >4      lelong  =1      version %#x (MVP)
 >4      lelong  >1      version %#x

with

 xxd -g 1 test_rust.wasm | head -n 1
 00000000: 00 61 73 6d 01 00 00 00 01 28 08 60 01 7f 00 60  .asm.....(.`...`

Werner


-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20200622/03acdf4a/attachment.asc>


More information about the File mailing list