OCaml string handling in C stubs

No. If you follow the definition you’ll see that it ends up with a memcpy. Recent compilers allow to check if the string is C safe with this function in mlvalues.h.