Skip to content

Commit

Permalink
Fix bug with null terminator in json body
Browse files Browse the repository at this point in the history
  • Loading branch information
In-line committed Apr 13, 2019
1 parent 3bbf0ba commit 9fbfb68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/helper/moduleconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* to add multiple entries.
*/
#define MODULE_NAME "gRIP"
#define MODULE_VERSION "0.1.2 Beta"
#define MODULE_VERSION "0.1.3 Beta"
#define MODULE_AUTHOR "Inline"
#define MODULE_URL "https://github.com/in-line/grip"
#define MODULE_LOGTAG "gRIP"
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grip-rust"
version = "0.1.2-beta"
version = "0.1.3-beta"
authors = ["alik"]
edition = "2018"
build = "src/build.rs"
Expand Down
2 changes: 1 addition & 1 deletion rust/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ pub unsafe extern "C" fn grip_body_from_json(
.clone()
.into_with_recursion_limit(try_as_usize!(amx, recursion_limit)),
pretty,
true
false
)
)
.into_bytes(),
Expand Down

0 comments on commit 9fbfb68

Please sign in to comment.