gsk: Catch values < 0 before bad things happen
authorBenjamin Otte <otte@redhat.com>
Sun, 2 Jul 2023 04:28:29 +0000 (06:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 3 Jul 2023 20:02:44 +0000 (22:02 +0200)
commitc79ec355af8aa93220736ff56fd65c1e3b4b60b5
tree9f9e5ddb8e1b56c8c79d15f8710a023fd1b9cd69
parentce5d74d7df4c2b3962bc5e767914562fd5de36c2
gsk: Catch values < 0 before bad things happen

In particular, catch radius values being < 0 by return_if_fail()ing in
the rendernode creation code, and by erroring out in the rendernode
parser.

I try too much dumb stuff in the node editor.
gsk/gskrendernodeimpl.c
gsk/gskrendernodeparser.c