%T#13878 Comment added by Bilgus: 292x216 images cause panic

Rockbox via rockbox-sf <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.sourceforge
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#13878 - 292x216 images cause panic
User who did this - Willliam W (Bilgus)

----------
overflow in bm->data

need to figure out why read_bmp_file returns a size larger
than the actual physical image
BM_SIZE(w,h, NATIVE) returns the same size as rli_alloc
BM_SCALED_SIZE() returns much larger size than needed
so I think I'll need to examine read_bmp_file() o figure out how it calculates the size needed

I suspect padding is at fault but I will look into it a bit deeper

it would also help if I wasn't just blindly passing the size so need a way for rli_alloc to pass back its actual size allocated
----------

More information can be found at the following URL:
https://www.rockbox.org/tracker/task/13878#comment45486

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
-- 
rockbox-sf mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.