mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
![Xidorn Quan](/assets/img/avatar_default.png)
Use `cstr!()` macro with `CStr` to ensure that literal strings used with FFI is properly nul-terminated to avoid cases like #19915. Source-Repo: https://github.com/servo/servo Source-Revision: 5af219e8188f2e657c5711eb5def4c8e8065e29d --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : fb6a22714c7b8ff534181e54c265fca24da7873b