Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jpg: memory violation report #3836

@hermet

Description

@hermet

There aren't any behavioral issues but the static JPG loader has a memory violation report during decoding. It's not a new issue, but it was discovered by chance.

Test: Particles
Build Option: meson setup build -Dloaders=all -Dexamples=true -Db_sanitize="address,undefined" -Dstatic=true

../src/loaders/jpg/tvgJpgd.cpp:2542:100: runtime error: member access within misaligned address 0x53400001c4cc for type 'struct coeff_buf', which requires 8 byte alignment
0x53400001c4cc: note: pointer points here
  e5 fe 0a ff 18 18 22 ae  0a 7f 00 00 3e 01 00 00  b3 00 00 00 08 00 00 00  08 00 00 00 80 00 00 00

Metadata

Metadata

Assignees

Labels

imageBitmap image features (jpg/png/webp/gif)portabilityPortability Issues among the machines

Type

No type

Projects

Status

Done 1.0

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions