summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewnotecard.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-08-06 11:39:11 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-08-06 11:39:11 -0400
commit1773f44b6d9fffa7f5d0b2449184b2998e99be5a (patch)
tree48f92921a187f1929d540d2f4b788ea024878499 /indra/newview/llpreviewnotecard.cpp
parent80adc9b6aa9814c74fd0c67c5de9d1765a089925 (diff)
MAINT-6584: Don't crash on inconsistent dims in a JPEG-2000 image.
Previous code would crump with LL_ERRS. But a bad image file should fail only the image load -- not crash the viewer. While at it, validate all components present, not just 0, 1, 2. While at it, make the failure message report which component and what the mismatched dimensions are, not just "Components don't have matching dimensions!"
Diffstat (limited to 'indra/newview/llpreviewnotecard.cpp')
0 files changed, 0 insertions, 0 deletions