summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-struct/src/struct.c
diff options
context:
space:
mode:
authordearblue <[email protected]>2020-09-24 22:25:26 +0900
committerdearblue <[email protected]>2020-09-25 21:02:58 +0900
commit57611240a972932ef26a13c6998a7fa90fd33371 (patch)
treea353c837094f8aab25a8e26474284ff78a151734 /mrbgems/mruby-struct/src/struct.c
parenta97f085c52c3a98ffd26e69ac1fd0d43dc83864c (diff)
downloadmruby-57611240a972932ef26a13c6998a7fa90fd33371.tar.gz
mruby-57611240a972932ef26a13c6998a7fa90fd33371.zip
Prohibit string changes by "s"/"z" specifier of `mrb_get_args()`
- The `s` specifier is a string pointer obtained without performing `mrb_str_modify()`, so it cannot be changed. - The `z` specifier cannot be changed because it is a string pointer obtained by `RSTRING_CSTR()` which returns `const char *`.
Diffstat (limited to 'mrbgems/mruby-struct/src/struct.c')
0 files changed, 0 insertions, 0 deletions