Giter Site home page Giter Site logo

Panic when decoding images about zune-image HOT 7 CLOSED

sxyazi avatar sxyazi commented on September 28, 2024 2
Panic when decoding images

from zune-image.

Comments (7)

etemesi254 avatar etemesi254 commented on September 28, 2024 4

Thank you @uklotzde for the suggestion, I thought I had added a testcase but was for another problem.

Added in 2128376

Also fixed this in 0.5.0-rc0 which is now up in crates.io So closing this.

Thank you for reporting

from zune-image.

uklotzde avatar uklotzde commented on September 28, 2024 2

Hi, is it possible to release a 0.4.12 version that removes this assert? I ran into it on this seemingly valid image

This would be a low effort quick fix to resolve the issue temporarily. Clients will handle the subsequent decoding error gracefully.

Many downstream dependencies that have upgraded to image v0.25.x are affected. Crashing applications for no valid reason is very inconvenient.

from zune-image.

uklotzde avatar uklotzde commented on September 28, 2024 2

...especially now since image v0.25 is actively promoted: https://www.reddit.com/r/rust/comments/1cj94va/image_v025_performance_improvements/

from zune-image.

etemesi254 avatar etemesi254 commented on September 28, 2024 1

working on it, sorry for the crash, it just happens that it was reported when i was overhauling the api and couldn't hot fix it

from zune-image.

zphixon avatar zphixon commented on September 28, 2024 1

Hi, is it possible to release a 0.4.12 version that removes this assert? I ran into it on this seemingly valid image

sadcomp

(I promise I didn't mess with this image on purpose to trigger this. I've had it floating around since 2020 😅)

from zune-image.

uklotzde avatar uklotzde commented on September 28, 2024

How about adding a regression test for this case? To ensure that this does not happen again in the future.

from zune-image.

rohitmittapalli avatar rohitmittapalli commented on September 28, 2024

Bump on releasing a 0.4.12 update to resolve this! Happy to help here and update the image crate as needed.

from zune-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.