Skip to content

Commit

Permalink
merge revision(s) ef00c6d,bcb16eb1e5d279e28d1e57c781531a8dea98eb8f,a0…
Browse files Browse the repository at this point in the history
…95740fed2a05a04806a1d3827bcaba02e45720: [Backport #19753]

	Adjust `else` style to be consistent in each files [ci skip]

	Rename `data` -> `buffer` for better readability. (ruby#7836)

	Fix `io_buffer_get_string` default length computation. (ruby#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.
  • Loading branch information
nagachika committed May 16, 2024
1 parent 2d686e1 commit 7d325d1
Show file tree
Hide file tree
Showing 2 changed files with 379 additions and 379 deletions.

0 comments on commit 7d325d1

Please sign in to comment.