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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to