You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The title basically says it, in smallest-hello-world.rs the string "Hello!" (not zero-terminated) is passed to the C function puts which expects a zero-terminated string.
Note: Link to smallest-hello-worlds.rs goes to the offending version, for the up-to-date version, check smallest-hello-world.rs.
The text was updated successfully, but these errors were encountered:
tbu-
added a commit
to tbu-/rust
that referenced
this issue
Apr 18, 2014
The title basically says it, in smallest-hello-world.rs the string
"Hello!"
(not zero-terminated) is passed to the C functionputs
which expects a zero-terminated string.Note: Link to smallest-hello-worlds.rs goes to the offending version, for the up-to-date version, check smallest-hello-world.rs.
The text was updated successfully, but these errors were encountered: