Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make sure all the lines of a JPEG are read#25864

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
asmorkalov merged 3 commits intoopencv:4.xfromvrabaud:legacy
Jul 5, 2024

Conversation

@vrabaud
Copy link
Contributor

In case of corrupted JPEG, imread would still return a JPEG of the proper size (as indicated by the header) but with some uninitialized values. I do not have a short reproducer I can add as a test as this was found by our fuzzers.

Pull Request Readiness Checklist

See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch

@asmorkalovasmorkalov self-requested a reviewJuly 3, 2024 14:22
@asmorkalovasmorkalov added this to the4.11.0 milestoneJul 3, 2024
@asmorkalovasmorkalov self-assigned thisJul 3, 2024
@vrabaudvrabaud changed the titleMake sure a line is read when calling jpeg_read_scanlinesMake sure all the lines of a JPEG are readJul 4, 2024
@vrabaud
Copy link
ContributorAuthor

Indeed, that patch was totally wrong. It is now fixed.

asmorkalov reacted with eyes emoji

@vrabaud
Copy link
ContributorAuthor

It is now truly fixed :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@asmorkalovasmorkalovasmorkalov approved these changes

Assignees

@asmorkalovasmorkalov

Projects

None yet

Milestone

4.11.0

Development

Successfully merging this pull request may close these issues.

3 participants

@vrabaud@asmorkalov@opencv-alalek

[8]ページ先頭

©2009-2025 Movatter.jp