diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-23 12:39:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-23 12:41:46 -0400 |
commit | 0e9dcc976b2a3f08f239d393f49ca2907cec099b (patch) | |
tree | 3e968cbfe442b7399e1bd9b1c81b5edcf50940d9 /tests/testmisc.c | |
parent | 483b7cc92a4d81dbd395f0b9ddbab4678d33884e (diff) | |
download | pango-0e9dcc976b2a3f08f239d393f49ca2907cec099b.tar.gz |
Avoid unsigned int pitfalls
When we tried to catch attr list overflow in
895759096309e7c, we overlooked that add - remove
can be negative, leading to unexpected results.
Avoid this case.
Fixes: #561
Diffstat (limited to 'tests/testmisc.c')
0 files changed, 0 insertions, 0 deletions