aboutsummaryrefslogtreecommitdiff
path: root/src/lib/process
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-22 08:36:32 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 08:36:32 -0400
commit2d013bbe5cccaccf9ace0beec5a987fb80e850ad (patch)
tree39110f4cdfd13bc2479ea3a9d18105104a2a7f5d /src/lib/process
parenta1d53413742840f4dab499531cb29a9d74c51b8a (diff)
parent8162859ef727619493cfd9368214d3a769b338cb (diff)
downloadtor-2d013bbe5cccaccf9ace0beec5a987fb80e850ad.tar.gz
tor-2d013bbe5cccaccf9ace0beec5a987fb80e850ad.zip
Merge remote-tracking branch 'tor-github/pr/1417'
Diffstat (limited to 'src/lib/process')
-rw-r--r--src/lib/process/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/process/process.c b/src/lib/process/process.c
index 2194a603ff..b01c99992c 100644
--- a/src/lib/process/process.c
+++ b/src/lib/process/process.c
@@ -550,6 +550,7 @@ process_vprintf(process_t *process,
char *data;
size = tor_vasprintf(&data, format, args);
+ tor_assert(data != NULL);
process_write(process, (uint8_t *)data, size);
tor_free(data);
}