diff options
author | delphij <delphij@FreeBSD.org> | 2016-04-29 08:02:31 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-04-29 08:02:31 +0000 |
commit | 8738d3374d360bdb231ac07c863e462cd62f83c6 (patch) | |
tree | 88283a221508ca2b5a5ccce12c44af1f57c0e909 /contrib/ntp/include/recvbuff.h | |
parent | e021bee65027979bc179c9148040d65d33c528a1 (diff) | |
download | FreeBSD-src-8738d3374d360bdb231ac07c863e462cd62f83c6.zip FreeBSD-src-8738d3374d360bdb231ac07c863e462cd62f83c6.tar.gz |
Fix ntp multiple vulnerabilities.
Approved by: so
Diffstat (limited to 'contrib/ntp/include/recvbuff.h')
-rw-r--r-- | contrib/ntp/include/recvbuff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ntp/include/recvbuff.h b/contrib/ntp/include/recvbuff.h index 92188f5..fa2d9cc 100644 --- a/contrib/ntp/include/recvbuff.h +++ b/contrib/ntp/include/recvbuff.h @@ -91,7 +91,7 @@ extern void freerecvbuf(struct recvbuf *); /* signal safe - no malloc */ extern struct recvbuf *get_free_recv_buffer(void); -/* signal unsafe - may malloc */ +/* signal unsafe - may malloc, never returs NULL */ extern struct recvbuf *get_free_recv_buffer_alloc(void); /* Add a buffer to the full list @@ -113,7 +113,7 @@ extern struct recvbuf *get_full_recv_buffer(void); * purge_recv_buffers_for_fd() - purges any previously-received input * from a given file descriptor. */ -extern void purge_recv_buffers_for_fd(SOCKET); +extern void purge_recv_buffers_for_fd(int); /* * Checks to see if there are buffers to process |