[haiku-bugs] Re: [Haiku] #16752: app_server: crash when zooming picture

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 13 Jan 2021 20:29:45 -0000

#16752: app_server: crash when zooming picture
---------------------------------+----------------------------
  Reporter:  X512                |      Owner:  axeld
      Type:  bug                 |     Status:  new
  Priority:  normal              |  Milestone:  Unscheduled
 Component:  Servers/app_server  |    Version:  R1/Development
Resolution:                      |   Keywords:
Blocked By:                      |   Blocking:
  Platform:  All                 |
---------------------------------+----------------------------
Comment (by X512):

 It can be `int32` overflow in `ServerBitmap`. When analyzing one of
 crashes, Alpha mask buffer bitmap size was 46848 x 27648 and color space
 was `B_RGBA32`. 46848*27648*4 = 0x1337e8000 > UINT32_MAX.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16752#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: