Null terminate string read.
modified src/event.c
@@ -135,7 +135,7 @@ event_sandboxed_get_string(pkg_sandbox_cb func, char **result, int64_t *len,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -164,18 +164,22 @@ event_sandboxed_get_string(pkg_sandbox_cb func, char **result, int64_t *len,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|