From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17530 invoked from network); 30 Jan 2022 04:49:31 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 30 Jan 2022 04:49:31 -0000 Received: from mail-oi1-f172.google.com ([209.85.167.172]) by 4ess; Sat Jan 29 23:38:36 -0500 2022 Received: by mail-oi1-f172.google.com with SMTP id u129so20346195oib.4 for <9front@9front.org>; Sat, 29 Jan 2022 20:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:to:subject:date:in-reply-to:mime-version :content-transfer-encoding; bh=yBLPtmDXK0bfcmQBrKzhM7prRkNzpi5YaaW91XyC0ig=; b=qsbvl+DrvQ7rTavShMP7T3GQ4uj9em7tAEFcSEBDj26ESajudN8nFa8H2Rxlbd9TxL wTg5dm6KB9ySjsf01BofNSdA+bLvUneM55FS1ugjnRJgUsoh8oEqIv+XtLiYNFhGt2if vtI0wlFqhFDOpaY0R9NXln2X3gUp5e3s7V7sWOIPVr6vRRZY7lZ0RVgibLsAPMGHpNet Vc6tYhxLpc5ZTdb0yQyUggo11N8BO9QyVcLpu9zPjndW8aatX0xeppJPyEGiE+p7fH4o SKIDbDoyfx1r2hhsBKhOcdCQbwQBB2bR8uEngskPo+FdmnhTP8BrO961AwhkISWrHWtr sVlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:to:subject:date:in-reply-to :mime-version:content-transfer-encoding; bh=yBLPtmDXK0bfcmQBrKzhM7prRkNzpi5YaaW91XyC0ig=; b=0cNVrTfO5yu5gfpszjERzVWyTnBzbsz7x3QMrAvZeSD377n+R3knMlD1O00Ik47Q5Y v2LwbaW/Gj1nztAF/bV3EoE/foOnXP6DgACpeXsN9r1/wSQWV6ZH92LDvN6Z90nFAv+c wMxMvzHDC/+tEx5hNwpl7psM+ve8SHDZ0iJQOTK2olhhU7FnLi7O0510xI5LGCiVAc8M eSmpZy49wKsUPrNenw1VfyOwDsAAj75u3J0RrVIjh5cboQS1WxugEsTHCy+iWnozWeUm +rkZgWRT6kTUvhXX90LRE49bVpOI5SX8mAVGRbOJflmygGDFZZmqrF9+oDKOPOnMx8JM 5uig== X-Gm-Message-State: AOAM53126N4uewOARC8Ui/b+nyMp2i22KJpg7Vp6icNQFBWaHWNoJkG7 iWxk12QIeACCOaVwvgVcGPMZKAAiBDm5XA== X-Google-Smtp-Source: ABdhPJx8XxHA1PqjRVKy87HZFa+0JGONBon4m3NSV9gRukgqWCuFZZ1DJqRCaNi8TJriZAKfng3INA== X-Received: by 2002:aca:5c82:: with SMTP id q124mr13856409oib.275.1643498951564; Sat, 29 Jan 2022 15:29:11 -0800 (PST) Return-Path: Received: from cirno.thinktank (107-200-43-169.lightspeed.sntcca.sbcglobal.net. [107.200.43.169]) by smtp.gmail.com with ESMTPSA id s18sm8927093oog.47.2022.01.29.15.29.10 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Jan 2022 15:29:11 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <9A1213D77123F54FFF4763DF7F1B2014@gmail.com> To: 9front@9front.org Date: Sat, 29 Jan 2022 15:29:08 -0800 In-Reply-To: <90050617726D475C720E8A8581DA8945@felloff.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: encrypted secure out-scaling hardware CMS-oriented backend Subject: Re: [9front] rewrite gateway Reply-To: 9front@9front.org Precedence: bulk Quoth cinap_lenrek@felloff.net: > found it. i could reproduce it on 386 when replying to a message. > > the issue was a classical double-free in msgshow(), calling > Bterm() twite on wfd: > > 251c3cfd610abd169676852d301a2aa1267c0e57 acne/Mail: fix double-free (Bterm() in mesgshow()) > Hash: 251c3cfd610abd169676852d301a2aa1267c0e57 > Date: Sat Jan 29 21:50:03 CET 2022 > Author: cinap_lenrek > Message: acne/Mail: fix double-free (Bterm() in mesgshow()) > > --- .git/fs/object/2833aecc681aec9928c525fc2d8d023dbfe225bc/tree/sys/src/cmd/upas/Mail/comp.c > +++ .git/fs/object/251c3cfd610abd169676852d301a2aa1267c0e57/tree/sys/src/cmd/upas/Mail/comp.c > diff -u .git/fs/object/2833aecc681aec9928c525fc2d8d023dbfe225bc/tree/sys/src/cmd/upas/Mail/comp.c .git/fs/object/251c3cfd610abd169676852d301a2aa1267c0e57/tree/sys/src/cmd/upas/Mail/comp.c > @@ -283,7 +283,6 @@ > break; > Bterm(rfd); > } > - Bterm(wfd); > } > Bterm(wfd); > fprint(c->addr, "$"); > > -- > cinap I really appreciate this. I feel retarded trying to debug this. If only I can spend the day annoyingly looking over someone else's shoulders, as they debug navigate or just generally use this OS. I ran another sysupdate, mk install and rebooted. Looks like its working. Thanks again! Much appreciation.