yqtian (Yongqiang Tian)
- Login: yqtian
- Registered on: 08/20/2026
- Last sign in: 09/21/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 2 | 2 | 4 |
Activity
09/17/2026
-
05:10 AM Ruby Bug #22323: Incorrect nonnull contract changes rb_typeddata_inherited_p(NULL, NULL) behavior
- Oh I see the point. Thank you for the clarification and commit!
-
01:19 AM Ruby Bug #22323: Incorrect nonnull contract changes rb_typeddata_inherited_p(NULL, NULL) behavior
- Thank you. By “the explicit equality behavior,” I meant this check at the
beginning of the inline implementation:
if (RB_LIKELY(child == parent))
return true;
The current header therefore gives three conflicting signa...
09/16/2026
-
09:11 AM Ruby Bug #22324 (Closed): Pure attributes allow Clang to remove observable C API effects
- Several public C APIs are marked `RBIMPL_ATTR_PURE()` even though their
documented behavior includes observable effects. Clang can consequently remove
calls when an extension discards the return value.
I reproduced three cases again... -
09:04 AM Ruby Bug #22323 (Closed): Incorrect nonnull contract changes rb_typeddata_inherited_p(NULL, NULL) behavior
- `rb_typeddata_inherited_p()` documents that both arguments may be `NULL`,
and its implementation returns true for `(NULL, NULL)`. However, both the
exported declaration and the inline implementation are marked with
`RBIMPL_ATTR_NONNUL...
09/15/2026
-
07:33 AM Ruby Bug #22254: [Prism] Clang UBSan reports NULL/0 memcpy while serializing empty strings
- Thanks a lot.
-
07:33 AM Ruby Bug #22253: Clang UBSan reports NULL/0 memcpy for eval scope locals
- Thanks.
08/20/2026
-
07:25 AM Ruby Bug #22254 (Assigned): [Prism] Clang UBSan reports NULL/0 memcpy while serializing empty strings
- I found a public `Prism.dump` path that passes a null source and zero length to
`memcpy` in Prism's buffer helper. Clang's `nonnull-attribute` sanitizer reports
the call because the effective glibc declaration marks the first two `memc... -
07:17 AM Ruby Bug #22253 (Assigned): Clang UBSan reports NULL/0 memcpy for eval scope locals
- I found a normal Ruby eval path that passes a null source and zero length to
`memcpy` in Prism. Clang's `nonnull-attribute` sanitizer reports the call
because the effective glibc declaration marks the first two `memcpy` arguments
as n...