New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assert failure in jxl::LowMemoryRenderPipeline::Init #1477
Comments
|
Could you point to the commit where you observe this issue? You write "before version 0.6.1", but the file mentioned in the asan output in not present at or before version 0.6.1. It is present at current main, but there I cannot reproduce the issue. |
|
I can still reproduce this issue using commit ec09355 |
|
When I compile with asan and try to ~/libjxl ((ec093557…))> ./ci.sh asan
[...]
~/libjxl ((ec093557…))> ./build/decode_oneshot poc /dev/null /dev/null
Decoder error
Error while decoding the jxl file
~/libjxl ((ec093557…))> md5sum poc
032c2ff7b122977ec747ed69c5e65207 pocSo in order to reproduce this, we need more specific info about the system that you are running this on. |
My running environment is ubuntu20.04. |
I didn't use ci.sh to compile libjxl. |
|
I still cannot repro this, using the same way you compile libjxl. What compiler/version do you use? |
sorry about the wrong uploaded poc. I upload new poc here: |
|
With the other poc.zip, I can now repro this. The failure occurs when the following assert is triggered:
with the following values: Not sure if the |
|
The JXL_ASSERT that is triggered here was removed in #1551 Could you verify that it is fixed with the newest version? |
git version is fixed according to libjxl/libjxl#1477
|
Issue was solved by commit aff17c4 |
desc
There is a assert failure in libjxl before version 0.6.1 that could cause deny of service attack.
asan output
reproduce
./decode_oneshot ./poc /dev/null /dev/nullThe text was updated successfully, but these errors were encountered: