shithub: riscv

Download patch

ref: 670137bf0a75813df93d9b727ce70ddb099d11e1
parent: c8a71691b4a6c979673884b2a9bdef3e805c4e31
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 19 18:00:45 EDT 2018

devdraw: zero initialize DImage.dscreen pointer (vnc, drawterm)

--- a/sys/src/9/port/devdraw.c
+++ b/sys/src/9/port/devdraw.c
@@ -524,6 +524,7 @@
 	d->name = 0;
 	d->vers = 0;
 	d->image = i;
+	d->dscreen = 0;
 	d->nfchar = 0;
 	d->fchar = 0;
 	d->fromname = 0;