Project

General

Profile

« Previous | Next » 

Revision a095740f

Added by Samuel Williams about 2 years ago

Fix io_buffer_get_string default length computation. (#8427)

  • Fix io_buffer_get_string default length computation.

When an offset bigger than the size is given, the resulting length will be
computed incorrectly. Raise an argument error in this case.

  • Validate all arguments.