genode/repos/base/include/util
Martin Stein cc4a72243d print_lines: fix bugs in line length calculation
1) The loop for determining the line length read from a character offset
   before checking whether the offset is smaller than the given string
   length. This could have caused access outside the string buffer.

2) The routine for determining the line length first seeked for the
   offset of the last real character of the line and than added one for
   getting the length but only if the following character was '\n'. This
   has to be done for any other line-terminating character too. The only
   case where you don't want to do this is when the end of the whole
   string is reached.

Issue #2967
2018-09-13 15:21:11 +02:00
..
arg_string.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
avl_string.h AVL node/tree: make non-copyable 2018-02-09 13:34:23 +01:00
avl_tree.h AVL node/tree: make non-copyable 2018-02-09 13:34:23 +01:00
bit_allocator.h bit_allocator: alloc specific block of bits 2018-03-29 15:16:11 +02:00
bit_array.h util: make bit array and allocator copyable 2017-08-28 16:49:46 +02:00
construct_at.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
fifo.h Genode::Fifo_element: workaround for compiling with GCC 6 2017-05-31 13:15:51 +02:00
flex_iterator.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
interface.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
list_model.h util/list_model.h: graceful handling of duplicates 2018-05-30 13:36:18 +02:00
list.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
meta.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
misc_math.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
mmio.h mmio: make base address member private 2017-03-15 12:32:24 +01:00
noncopyable.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
print_lines.h print_lines: fix bugs in line length calculation 2018-09-13 15:21:11 +02:00
reconstructible.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
register_set.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
register.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
retry.h Genode::retry(): fix compile error with GCC 6 2017-05-31 13:15:50 +02:00
string.h string.h: ascii_to for unsigned char 2018-05-30 13:36:11 +02:00
token.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
touch.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
volatile_object.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
xml_generator.h base: reset unfinished xml nodes in xml_generator 2018-06-13 13:50:35 +02:00
xml_node.h Xml_node: fix bug in Xml_node::decoded_content 2018-02-09 13:26:02 +01:00