diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-24 14:33:46 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-30 19:47:14 -0400 |
| commit | 670e288d653853de385798bb31044f9f478d9543 (patch) | |
| tree | 0cce0ead451e5bfe017cecc7eaa502e387882718 /ruby_assert.h | |
| parent | 520b86caf1b6e954c5fbe61a3a83bc5b4716c988 (diff) | |
Add warning for str_new_static functions
Many functions in string.c assume that capa + termlen to be readable
memory. Add comment in header to communicate this to extension authors.
See also: comment in str_fill_term()
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3698
Diffstat (limited to 'ruby_assert.h')
0 files changed, 0 insertions, 0 deletions
