http://bugs.winehq.org/show_bug.cgi?id=22694
--- Comment #6 from Wolfram Sang wolfram@the-dreams.de 2010-05-16 07:36:44 --- Thanks for CC.
Well, the BMP which causes the fault looks like this:
<pre> 00000000 42 4d b0 e1 0d 0a 5b 53 65 74 74 69 6e 67 73 5d |BM....[Settings]| 00000010 0d 0a 52 54 4c 3d 30 0d 0a |..RTL=0..| </pre>
So, it is a pretty broken BMP. The old check I removed caused it not to load in earlier versions. However, the testcase I modified showed that Windows does really not care about the reserved fields. So, it looks to me we need some other measures to discard this BMP. Will have a look.