[exim-dev] [Bug 2130] New: Transport pipe reads too small fo…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2130] Transport pipe reads too small for response object, [exim-dev] [Bug 2130] Transport pipe reads too small for response object
Subject: [exim-dev] [Bug 2130] New: Transport pipe reads too small for response object
https://bugs.exim.org/show_bug.cgi?id=2130

            Bug ID: 2130
           Summary: Transport pipe reads too small for response object
           Product: Exim
           Version: 4.88
          Hardware: All
                OS: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Transports
          Assignee: nigel@???
          Reporter: jgh146exb@???
                CC: axel.rau@???, exim-dev@???


Reported against FreeBSD; likely to occur on any minimal Posix.1-2001
PIPE_BUF implementation.

Error message:
failed to read pipe from transport process 28932 for transport smtp: required
size=2680 > remaining size=329 and unfinished=false

Code location: src/deliver.c about line 3250. Comment:

Each separate item is written to the pipe in a single write(), and as they are
all short items, the writes will all be atomic and we should never find
ourselves in the position of having read an incomplete item. "Short" in this
case can mean up to about 1K in the case when there is a long error message
associated with an address.

- vs. PIPE_BUF of 512, and response element in kilobytes (eg. the TLS peer
certificate.

--
You are receiving this mail because:
You are on the CC list for the bug.