summaryrefslogtreecommitdiff
path: root/lib/libutil/imsg.c
AgeCommit message (Expand)Author
2015-12-09Add a cast to silence a compiler warning by clang on FreeBSD.tb
2015-12-05Do not loop on EAGAIN in imsg_read(). Better to return the error to theClaudio Jeker
2015-11-27Remove three NULL-checks before free(). ok millert@mmcc
2015-07-19Handle malloc(0) returning NULL (which can happen on some otherNicholas Marriott
2015-07-12Use memset instead of bzero for better portability.Nicholas Marriott
2015-07-03bzero cmsgbuf before using it, silences valgrind warnings.Bryan Steele
2015-06-11The correct semantic is to check msgbuf_write() for <= 0, not just < 0.Reyk Floeter
2014-06-30sys/types.h rather than sys/param.h, where applicable. avoid overreach.Theo de Raadt
2013-12-26constify data parameter in imsg_add() and imsg_compose()Eric Faurot
2013-02-01fix memleak in imsg_read() when hitting the fd reserve checkGilles Chehade
2012-12-19Fix a purely theoretical NULL-pointer dereference in the case that weReyk Floeter
2012-06-02in imsg_read() avoid calling recvmsg() if we detect that we will be shortGilles Chehade
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott