asomers
2fef728320
Fix memory leaks during "tail -r" of an irregular file
...
* Rewrite r_buf to use standard tail queues instead of a hand-rolled
circular linked list. Free dynamic allocations when done.
* Remove an optimization for the case where the file is a multiple of 128KB
in size and there is a scarcity of memory.
* Add ATF tests for "tail -r" and its variants.
Reported by: Valgrind
Reviewed by: ngie
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D9067
2017-01-10 20:43:32 +00:00
..
2016-09-20 04:54:00 +00:00
2016-12-10 16:20:39 +00:00
2016-11-15 02:36:12 +00:00
2015-10-01 09:36:18 +00:00
2015-10-20 16:10:46 +00:00
2015-06-21 19:50:02 +00:00
2015-10-20 16:10:46 +00:00
2015-10-20 16:10:46 +00:00
2015-10-20 16:10:46 +00:00
2015-10-20 16:10:46 +00:00
2015-12-11 22:55:23 +00:00
2015-10-20 16:10:46 +00:00
2015-01-16 21:39:08 +00:00
2017-01-10 20:43:32 +00:00
2015-12-01 05:23:19 +00:00
2016-08-25 02:40:14 +00:00
2016-01-21 17:33:31 +00:00
2016-10-04 23:12:35 +00:00
2016-12-10 16:20:39 +00:00
2015-02-12 05:35:00 +00:00
2015-10-12 21:02:36 +00:00
2016-09-20 04:52:01 +00:00
2016-06-02 19:06:04 +00:00
2016-11-06 19:51:01 +00:00
2016-01-27 06:28:56 +00:00
2014-12-24 01:50:44 +00:00
2016-12-21 08:32:20 +00:00
2016-03-12 14:54:34 +00:00
2016-10-31 21:11:46 +00:00
2015-12-01 05:23:19 +00:00
2016-05-10 12:47:36 +00:00
2014-11-02 19:25:31 +00:00
2016-06-25 12:54:27 +00:00
2016-02-29 20:21:54 +00:00
2016-08-24 23:02:20 +00:00
2016-06-09 01:28:44 +00:00
2017-01-02 15:19:22 +00:00
2016-12-04 15:58:34 +00:00
2016-08-14 05:18:38 +00:00
2016-05-01 16:43:22 +00:00
2016-10-23 18:00:09 +00:00
2015-06-29 07:43:09 +00:00
2016-05-01 16:43:22 +00:00
2015-10-26 15:16:27 +00:00
2016-12-03 19:03:40 +00:00
2016-12-21 08:32:20 +00:00
2017-01-07 09:03:40 +00:00
2016-11-01 01:41:24 +00:00