hanazuki (Kasumi Hanazuki)
- Login: hanazuki
- Registered on: 11/21/2017
- Last sign in: 09/05/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 2 | 9 | 11 |
Activity
09/23/2024
- 06:29 PM Ruby master Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
- After reviewing `memcpy` and `memmove` from open-source libc implementations, I found some optimize for small copies ...
09/18/2024
- 01:29 PM Ruby master Bug #20755 (Closed): IO::Buffer#transfer transfers mutable reference to String's memory but not lock ownership
- `IO::Buffer.for` with a block yields a mutable IO::Buffer that shares underlying memory with a mutable String. While ...
- 10:17 AM Ruby master Bug #20753 (Open): [doc] IO::Buffer examples try to write into readonly buffer returned from IO::Buffer.for
- `IO::Buffer.for` without a block returns a readonly `IO::Buffer`. Some examples in the documentation for `IO::Buffer`...
- 09:38 AM Ruby master Bug #20752 (Closed): IO::Buffer#slice creates mutable IO::Buffer instance that points to readonly memory (e.g. fronzen String)
- ```irb
irb(main):001> RUBY_DESCRIPTION.frozen?
=> true
irb(main):002> IO::Buffer.for(RUBY_DESCRIPTION).set_string(... - 08:03 AM Ruby master Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
- If this is an intentional restriction to gain performance, I would like to propose adding documentation that the meth...
09/16/2024
- 06:51 AM Ruby master Bug #20745: IO::Buffer#copy triggers UB when src/dest buffers overlap
- `#set_string` in combination with `.for` with a block has the same problem.
```shell-session
% docker run --platf... - 06:33 AM Ruby master Bug #20745 (Open): IO::Buffer#copy triggers UB when src/dest buffers overlap
- The current implementation of `IO::Buffer#copy` uses `memcpy` to copy data between the two memory regions. `memcpy` h...
- 06:42 AM Ruby master Bug #20237: Unable to unshare(CLONE_NEWUSER) in Linux because of timer thread
- Thank you @ko1 for sharing the current situation. I'm fine with closing this ticket as it is due to the design decisi...
09/10/2024
- 08:34 AM Ruby master Revision 3231ac60 (git): [ruby/resolv] test_dns: Fix FD leak
- The listening TCP socket is closed by `with_udp_and_tcp` helper, but
the connected socket is leaking.
```
Leaked fil...
08/13/2024
- 09:09 PM Ruby master Revision 094e5336 (git): [ruby/resolv] Reuse open TCP connection
- [RFC7766] Section 5 recommends stub resolvers to reuse open TCP
connections to a nameserver.
[RFC7766]: https://data...
Also available in: Atom