Skip to content

Fix bug in test_tiff.cpp - #14045

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
rpici:fix_bug_in_test_tiff
Mar 13, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
rpici:fix_bug_in_test_tiff

Conversation

@rpici

@rpici rpici commented Mar 13, 2019

Copy link
Copy Markdown
Contributor

This pullrequest changes

Fixes a bug in which the big endian data in the tiff_sample_data array was never being tested. This could be observed by e.g. changing the 9th byte in the big endian data from 0xde to something that should fail the test, e.g. 0xdd, and the test would still pass even though it should fail.

The big endian data in the tiff_sample_data array was never being tested.  This could be observed by e.g. changing the 9th byte in the big endian data from 0xde to something that should fail the test, e.g. 0xdd, and the test would still pass even though it should fail.

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@opencv-pushbot
opencv-pushbot merged commit 9cca066 into opencv:3.4 Mar 13, 2019
@alalek alalek mentioned this pull request Mar 13, 2019
@rpici
rpici deleted the fix_bug_in_test_tiff branch March 13, 2019 21:26
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants