ref: 31c5c1ac9a99ac12c395882e25aec3d7d98de016
parent: 18039c83c099e0b58459118c84e3292509417653
author: cinap_lenrek <[email protected]>
date: Sun Apr 7 12:23:07 EDT 2024
kernel: zero Proc.lastlock and Proc.lastilock in newproc()
--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -712,6 +712,8 @@
p->syserrstr = p->errbuf1;
p->errbuf0[0] = '\0';
p->errbuf1[0] = '\0';
+ p->lastlock = nil;
+ p->lastilock = nil;
p->nlocks = 0;
p->delaysched = 0;
p->trace = 0;