From 741c57cd437ca296c2b93060737f1c0ee2888c2d Mon Sep 17 00:00:00 2001 From: Apple Date: Wed, 2 Dec 2015 17:45:58 +0000 Subject: [PATCH] syslog-322.30.1.tar.gz --- syslogd.tproj/dbserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslogd.tproj/dbserver.c b/syslogd.tproj/dbserver.c index 7f82959..8595462 100644 --- a/syslogd.tproj/dbserver.c +++ b/syslogd.tproj/dbserver.c @@ -170,7 +170,7 @@ add_lockdown_session(int fd) dispatch_async(watch_queue, ^{ if (global.lockdown_session_count == 0) global.lockdown_session_fds = NULL; - global.lockdown_session_fds = reallocf(global.lockdown_session_fds, global.lockdown_session_count + 1 * sizeof(int)); + global.lockdown_session_fds = reallocf(global.lockdown_session_fds, (global.lockdown_session_count + 1) * sizeof(int)); if (global.lockdown_session_fds == NULL) { -- 2.47.2