After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661617 - st-texture-cache: Fix a minor crash when computing our border-radius
st-texture-cache: Fix a minor crash when computing our border-radius
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 661795 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-13 01:16 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2011-10-14 19:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
st-texture-cache: Fix a minor crash when computing our border-radius (1.22 KB, patch)
2011-10-13 01:16 UTC, Jasper St. Pierre (not reading bugmail)
accepted-commit_now Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-10-13 01:16:38 UTC
Just a minor crash that I don't think affects anything today.
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-10-13 01:16:42 UTC
Created attachment 198895 [details] [review]
st-texture-cache: Fix a minor crash when computing our border-radius

If we add a 0-sized actor with a border-radius, we will crash as we try to
allocate a 0-sized texture in Cogl. Bail out early instead of doing that.
Comment 2 Colin Walters 2011-10-13 17:45:44 UTC
Review of attachment 198895 [details] [review]:

Looks fine, thanks.
Comment 3 Jasper St. Pierre (not reading bugmail) 2011-10-14 19:08:42 UTC
*** Bug 661795 has been marked as a duplicate of this bug. ***