From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] imap4d broke
Date: Wed, 27 May 2020 18:54:31 +0200 [thread overview]
Message-ID: <3E6823AC72533CAB6B9A64973423C9B6@felloff.net> (raw)
In-Reply-To: <B8FBE9C94CB8850B0982004B169A05A4@ewsd.inri.net>
looks like a bug in the imap4d's Dfmt(), trying to format a invalid %s.
the only %s is from mon[tm->mon] as far as i can see.
/sys/src/cmd/upas/imap4d/print.c:^Dfmt
seprint(p, e, fmt,
tm->mday, mon[tm->mon], tm->year + 1900, tm->hour, tm->min, tm->sec,
sgn, off);
so we'd need to take a look at the tm structure here and see if tm->mon
is out of bounds or tm itself is invalid. it comes from date2tm()'s
first argument, which should be on the stack.
can you provide a snap?
--
cinap
parent reply other threads:[~2020-05-27 16:54 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <B8FBE9C94CB8850B0982004B169A05A4@ewsd.inri.net>]
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=3E6823AC72533CAB6B9A64973423C9B6@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).