ruby/ext/stringio
Nobuyoshi Nakada 348a534153 [ruby/stringio] Copy from the relocated string
When ungetting the string same as the same buffer string, extending
the buffer can move the pointer in the argument.  Reported by manun
Manu (manun) at https://hackerone.com/reports/2805165.

https://github.com/ruby/stringio/commit/95c1194832
2024-11-05 05:01:03 +00:00
..
.document [ruby/stringio] [DOC] Add rdoc task 2024-03-14 04:30:27 +00:00
README.md
depend ruby tool/update-deps --fix 2024-04-27 21:55:28 +09:00
extconf.rb [ruby/stringio] Do not compile the C extension on TruffleRuby 2023-11-27 12:21:24 +00:00
stringio.c [ruby/stringio] Copy from the relocated string 2024-11-05 05:01:03 +00:00
stringio.gemspec [ruby/stringio] [DOC] Package rdoc files 2024-03-14 04:30:28 +00:00

README.md

StringIO

Pseudo IO class from/to String.

This library is based on MoonWolf version written in Ruby. Thanks a lot.

Differences to IO

  • fileno raises NotImplementedError.
  • encoding conversion is not implemented, and ignored silently.