1
0

100-repmgr-format-security.patch 254 B

1234567891011
  1. --- a/repmgr/repmgr_net.c
  2. +++ b/repmgr/repmgr_net.c
  3. @@ -1136,7 +1136,7 @@ __repmgr_listen(env)
  4. }
  5. ret = net_errno;
  6. - __db_err(env, ret, why);
  7. + __db_err(env, ret, "%s", why);
  8. clean: if (s != INVALID_SOCKET)
  9. (void)closesocket(s);
  10. return (ret);