[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inc and non-compliant long lines redux
From: |
Andy Bradford |
Subject: |
Re: inc and non-compliant long lines redux |
Date: |
13 Nov 2022 23:00:06 -0700 |
Thus said Ralph Corderoy on Sun, 13 Nov 2022 21:29:23 +0000:
> Is this only seen with inc(1) reading from a particular source?
I believe the only problem that I found was inc and reading from a POP
source; sorry for not being more clear. Specifically in popsbr.c and
pop_getline(), it would call netsec_readline() which uses a buffer of
65535 for holding data, and then pop_getline() would stuff it into a
buffer that was BUFSIZ (1024 on my system), thus truncating whatever was
returned to 1024.
For most cases, this actually worked out fine because netsec_readline()
would always find a newline before 1024 bytes and return a pointer with
a length of < 1024. But in the case of really long lines (probably
pretty rare in SMTP and POP), it would truncate them.
Andy
- inc and non-compliant long lines redux, Andy Bradford, 2022/11/09
- Re: inc and non-compliant long lines redux, Michael Richardson, 2022/11/10
- Re: inc and non-compliant long lines redux, Ralph Corderoy, 2022/11/13
- Re: inc and non-compliant long lines redux,
Andy Bradford <=
- Re: inc and non-compliant long lines redux, Ken Hornstein, 2022/11/14
- Re: inc and non-compliant long lines redux, Andy Bradford, 2022/11/14
- Re: inc and non-compliant long lines redux, Ralph Corderoy, 2022/11/15
- Re: inc and non-compliant long lines redux, Ken Hornstein, 2022/11/15
- Re: inc and non-compliant long lines redux, Andy Bradford, 2022/11/16
- Message not available
- Re: inc and non-compliant long lines redux, Ken Hornstein, 2022/11/16
- Re: inc and non-compliant long lines redux, Andy Bradford, 2022/11/16
- Re: inc and non-compliant long lines redux, Ken Hornstein, 2022/11/16
- Re: inc and non-compliant long lines redux, Andy Bradford, 2022/11/16
- Message not available
- Re: inc and non-compliant long lines redux, Ken Hornstein, 2022/11/16