summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-27No use of iev->data, set it to NULL.Sunil Nimmagadda
2014-08-27Bounds check array index. Fixes a crash when len == 1.Sunil Nimmagadda
2014-08-23First clear io then iobuf.Sunil Nimmagadda
2014-08-23Latest changes from upstream with commit message...Sunil Nimmagadda
When the three possible return values are -1, 0, and 1, != 1 is the same as <= 0. And the latter is the normal idiom so use that. ok claudio@ henning@
2014-08-20Prepend session id to the log message.Sunil Nimmagadda
2014-05-29knf and whitespace fixes.Sunil Nimmagadda
2014-05-28Fix a crash during concurrent sessions TIMEOUT reported by JamesSunil Nimmagadda
Turner (#5). imsgev_close schedules(event_add) iev and the event struct is free-ed before the event is dispatched. Include string.h after recent libressl changes.
2014-05-02Pull in latest changes for iobuf/ioev from smtpd.Sunil Nimmagadda
2014-04-19This cannot truncate unless new states are added.Sunil Nimmagadda
2014-04-19Equal sized buffer copy, no truncation happens.Sunil Nimmagadda
2014-04-19args are checked for size in parse function. Cast to void as no truncation ↵Sunil Nimmagadda
check required here.
2014-04-19hash is a fixed length string. Copying is always done to same lengthSunil Nimmagadda
buffer. Explicitly cast to void for clarity.
2014-04-12Update README.mdSunil Nimmagadda
2014-04-11Mark uidl correctly in list_res for the terminal. Fixes UIDL commandSunil Nimmagadda
on an empty maildrop.
2014-04-11Remove redundant sock member in session. io already holds the sock for each ↵Sunil Nimmagadda
session.
2014-04-10pull in latest master.Sunil Nimmagadda
2014-04-10Kill pop3_main return value as we now waitpid on WAIT_ANY.Sunil Nimmagadda
2014-04-10Since we now waitpid on WAIT_ANY, pop3_main needed return pid.Sunil Nimmagadda
2014-04-10Merge pull request #3 from jturner/killzombiesSunil Nimmagadda
Make sure zombie processes are not left over
2014-04-10Simplify maildrop path handling. Regardless of the order of options path is ↵Sunil Nimmagadda
now correctly handled.
2014-04-09Make sure zombie processes are left overJames Turner
2014-04-07Fix clang warnings. offset is always long.Sunil Nimmagadda
2014-04-02Return correct nlines for RETR in maildir handling.Sunil Nimmagadda
2014-04-02Use correct format of listing.Sunil Nimmagadda
2014-04-02Move it closer to list.Sunil Nimmagadda
2014-04-01Merge branch 'refactor'Sunil Nimmagadda
2014-04-01merge from cvs.Sunil Nimmagadda
2014-04-01Import.Sunil Nimmagadda
2014-04-01Properly NUL terminate expanded path by memsetting it.Sunil Nimmagadda
2014-04-01Simplify list_all handling. Send an imsg for each msg instead ofSunil Nimmagadda
consolidating into one imsg. We are no longer limited by MAX_IMSGSIZE. End of list is signalled by sending an imsg with hash as "" or sz as 0.
2014-03-27Create README.mdSunil Nimmagadda
2014-03-27Import pop3d.Sunil Nimmagadda