summaryrefslogtreecommitdiff
path: root/buffer.c
Commit message (Expand)AuthorAgeFilesLines
* evbuffer_add_file: fix freeing of segment in the error pathAzat Khuzhin2019-09-211-1/+1
* buffer: fix possible NULL dereference in evbuffer_setcb() on ENOMEMAzat Khuzhin2019-07-311-1/+6
* evbuffer: fix last_with_datap after prepend with empty chainAzat Khuzhin2019-05-161-1/+1
* Maximum evbuffer read configurationAzat Khuzhin2019-03-161-12/+29
* buffer: make evbuffer_prepend() of zero-length array no-opAzat Khuzhin2019-03-031-0/+4
* buffer: do not rely on ->off in advance_last_with_data()Azat Khuzhin2019-03-031-3/+7
* buffer: fix evbuffer_remove_buffer() with empty chain in frontAzat Khuzhin2019-03-031-1/+1
* Convert evbuffer_strspn() (internal helper) to use size_tAzat Khuzhin2018-10-281-2/+2
* buffer: add an assert for last_with_datap to suppress static analyzerAzat Khuzhin2018-10-281-0/+2
* Fix missing LIST_HEADJiri Luznicky2018-10-201-0/+1
* Fix assert() condition in evbuffer_drain() for IOCPSuckShit2018-04-221-1/+1
* buffer: fix incorrect unlock of the buffer mutex (for deferred callbacks)Azat Khuzhin2018-02-121-1/+1
* Fix wrong assert in evbuffer_drain()Azat Khuzhin2017-08-141-1/+1
* Use off_t instead of ev_off_t for sendfile() (fixes android build)Azat Khuzhin2017-03-081-1/+1
* Fix signedness differ for iov_base (solaris)Azat Khuzhin2016-12-061-8/+8
* buffer: don't mix code and declarationsAzat Khuzhin2016-07-071-1/+2
* buffer: fix overflow check in evbuffer_expand_singlechain()Azat Khuzhin2016-06-261-2/+1
* buffer: evbuffer_add_buffer(): clean empty chains from destination bufferAzat Khuzhin2016-06-171-2/+6
* Fix n_add_for_cb in evbuffer_prepend() in case of new buffer requiredAzat Khuzhin2016-04-211-1/+1
* evbuffer_add: Use last_with_datap if set, not last.Marcus Sundberg2016-03-261-1/+5
* Don't use BSD u_* types.Ed Schouten2015-08-251-2/+2
* Fix CVE-2014-6272 in Libevent 2.1Nick Mathewson2015-01-051-8/+67
* Fix evbuffer_peek() with len==-1 and start_at non-NULL.Nick Mathewson2014-11-301-1/+4
* Fix several memory leaks in the unit tests.Nick Mathewson2014-09-181-1/+1
* Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2014-08-291-0/+2
|\
| * Consistently check for failure from evbuffer_pullup()Nick Mathewson2014-08-291-0/+2
* | Avoid leaking segment mappings when offset is not a page multipleNick Mathewson2013-07-311-8/+18
* | Use finalization feature so bufferevents can avoid deadlocksNick Mathewson2013-04-261-0/+18
* | Add a new callback to get called on evbuffer_file_segment freeyangacer2012-11-061-1/+17
* | Fix a few mingw64 incompatibilities introduced since 2.0Nick Mathewson2012-11-021-2/+2
* | Fix some warnings found cross-compiling with mingw32Nick Mathewson2012-11-011-0/+6
* | Avoid double-free on error in evbuffer_add_file. Found by coverity.Nick Mathewson2012-07-261-1/+2
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2012-07-261-0/+3
|\ \ | |/
| * Avoid possible needless call to writev. Found by coverity.Nick Mathewson2012-07-261-0/+2
* | Restore our priority-inversion-prevention code with deferredsNick Mathewson2012-05-091-1/+2
* | Replace more deferred_cb names with event_callbackNick Mathewson2012-05-091-3/+3
* | Replace deferred_cbs with event_callback-based implementation.Nick Mathewson2012-05-091-7/+6
* | Have all visible internal function names end with an underscore.Nick Mathewson2012-02-291-23/+23
* | Fix all identifiers with names beginning with underscore.Nick Mathewson2012-02-291-71/+71
* | Convert event-config.h macros to avoid reserved identifiersNick Mathewson2012-02-291-19/+19
* | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2012-02-101-1/+1
|\ \ | |/
| * Update copyright notices to 2012Nick Mathewson2012-02-101-1/+1
* | Replace more C99/C++ comments with oldschool /* */ commentsNick Mathewson2012-02-021-14/+14
* | Merge remote-tracking branch 'github/linked_list'Nick Mathewson2012-01-201-13/+13
|\ \
| * | Use LIST rather than TAILQ for evbuffer callbacksNick Mathewson2010-04-091-12/+12
* | | Merge remote-tracking branch 'origin/patches-2.0'Nick Mathewson2011-12-081-1/+8
|\ \ \ | | |/ | |/|
| * | Fix behavior of evbuffer_peek(buf,-1,NULL,NULL,0)Zack Weinberg2011-12-081-1/+8
* | | whitespace fixesNick Mathewson2011-12-081-3/+3
* | | Merge remote-tracking branch 'fancycode/buffer_references'Nick Mathewson2011-12-081-2/+118
|\ \ \
| * | | Changed use of refcounts to make sure referenced chains are freed in all cases.Joachim Bauch2011-12-071-14/+11