9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] rewrite gateway
Date: Sat, 29 Jan 2022 15:18:20 +0100	[thread overview]
Message-ID: <5E2CFE7F0D34E3CD03F6902FB308D936@felloff.net> (raw)
In-Reply-To: <CAFSF3XPo2PPe-KvsK6htv6jmRSu_17wpB+AcYqQSPeTYy9yHkQ@mail.gmail.com>

it looks to me like the arguments of that ioproc are corrupted.

i'v taken a look at acme mail, and iowrite is only used
as a callback for a Bio buffer (procwr), which should have
a maximum buffer capacity of 8K + UTFman+1, so having
~800k write size should be impossible.

also note how the file descriptor is -1?

very odd.

you can maybe put a debug print in /sys/src/cmd/upas/Mail/win.c:^procwr

i'm not acme user, lemme see if i can reproduce it on a 386 build.

--
cinap

  reply	other threads:[~2022-01-29 16:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28  0:52 thinktankworkspaces
2022-01-28 19:07 ` cinap_lenrek
2022-01-28 21:10   ` thinktankworkspaces
2022-01-28 21:22     ` ori
2022-01-28 23:04       ` thinktankworkspaces
2022-01-29 13:14         ` hiro
2022-01-29 14:18           ` cinap_lenrek [this message]
2022-01-29 20:50             ` cinap_lenrek
2022-01-29 23:29               ` thinktankworkspaces
2022-01-29 23:40             ` thinktankworkspaces
2022-01-30 12:14               ` cinap_lenrek
2022-01-30 16:16               ` ori
2022-01-30 23:01                 ` thinktankworkspaces
2022-01-29 14:29           ` cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5E2CFE7F0D34E3CD03F6902FB308D936@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).