Note the upstream version prevents infinite recursion by limiting the nesting depth. See commit #254:
Created attachment 401045 [details]
limit backported to rhel5 version of logrotate
Quality Engineering Management has reviewed and declined this request. You may
appeal this decision by reopening this request.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.