|
@@ -3486,7 +3486,7 @@ format_helper_exit_status(unsigned char child_state, int saved_errno,
|
|
|
* Count how many chars of space we have left, and keep a pointer into the
|
|
|
* current point in the buffer.
|
|
|
*/
|
|
|
- left = HEX_ERRNO_SIZE;
|
|
|
+ left = HEX_ERRNO_SIZE+1;
|
|
|
cur = hex_errno;
|
|
|
|
|
|
|
|
@@ -3786,7 +3786,7 @@ tor_spawn_background(const char *const filename, const char **argv,
|
|
|
this is used for printing out the error message */
|
|
|
unsigned char child_state = CHILD_STATE_INIT;
|
|
|
|
|
|
- char hex_errno[HEX_ERRNO_SIZE + 1];
|
|
|
+ char hex_errno[HEX_ERRNO_SIZE + 2];
|
|
|
|
|
|
static int max_fd = -1;
|
|
|
|