From: arisawa@ar.aichi-u.ac.jp
To: 9fans@cse.psu.edu
Subject: [9fans] pop3 again
Date: Wed, 6 Apr 2005 13:38:42 +0900 [thread overview]
Message-ID: <eceb4a59343013ace5aaf3c1f17e1aed@ar.aichi-u.ac.jp> (raw)
ar% ps
...
arisawa 73 0:46 11:45 328K Pread pop3
arisawa 75 1:57 10:54 2688K Pread fs
...
ar% acid 73
/proc/73/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
pread()+0x7 /sys/src/libc/9syscall/pread.s:5
read(fd=0x3,buf=0x37557,n=0x1fc1)+0x2f /sys/src/libc/9sys/read.c:7
Brdline(bp=0x374e0,delim=0xa)+0xd3 /sys/src/libbio/brdline.c:49
readmbox(box=0x2e59c)+0x31d /sys/src/cmd/upas/pop3/pop3.c:245
dologin(response=0x7fffeb61)+0x11b /sys/src/cmd/upas/pop3/pop3.c:767
apopcmd(arg=0x7fffeb59)+0x39 /sys/src/cmd/upas/pop3/pop3.c:801
main(argv=0x7fffefac,argc=0x0)+0x15d /sys/src/cmd/upas/pop3/pop3.c:140
_main+0x31 /sys/src/libc/386/main9.s:16
The lines around /sys/src/cmd/upas/pop3/pop3.c:245 are
lines = 0;
for(;;){
p = Brdline(b, '\n');
if(p == nil){
if(Blinelen(b) == 0)
break;
}else
lines++;
}
I believe these line can make a endless loop.
Kenji Arisawa
next reply other threads:[~2005-04-06 4:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 4:38 arisawa [this message]
2005-05-02 13:11 ` Richard Miller
2005-05-02 13:18 ` Russ Cox
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=eceb4a59343013ace5aaf3c1f17e1aed@ar.aichi-u.ac.jp \
--to=arisawa@ar.aichi-u.ac.jp \
--cc=9fans@cse.psu.edu \
/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).