diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-04 20:36:28 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-04 20:36:28 +0200 |
commit | 30d7276d693a45153140248bc4cf09d72c554030 (patch) | |
tree | bd6ed89736c0105b4fd21773b9f52835210600de /sys/src/cmd/python/Objects/tupleobject.c | |
parent | 3e8a38dfb33e26395d63467669dbf896ec774eaa (diff) |
libdraw: fix font f->cacheimage nil dereference
the initial fontresize() might fail but its error code is ignored
potentially leaving f->cacheimage == nil. make sure we call
fontresize() in loadchar() when theres no cacheimage and check the
return value to avoid nil pointer dereference.
Diffstat (limited to 'sys/src/cmd/python/Objects/tupleobject.c')
0 files changed, 0 insertions, 0 deletions