Re: [PATCH v1] strengthen backup history filename check

2022-07-25 Thread Junwang Zhao
On Mon, Jul 25, 2022 at 7:39 PM Bharath Rupireddy wrote: > > On Mon, Jul 25, 2022 at 5:01 PM Junwang Zhao wrote: > > > > This patch makes the backup history filename check more tight. > > Can you please elaborate a bit on the issue with existing > IsBackupHistoryFileName(), if there's any? > The

Re: [PATCH v1] strengthen backup history filename check

2022-07-25 Thread Bharath Rupireddy
On Mon, Jul 25, 2022 at 5:01 PM Junwang Zhao wrote: > > This patch makes the backup history filename check more tight. Can you please elaborate a bit on the issue with existing IsBackupHistoryFileName(), if there's any? Also, the patch does have hard coded numbers [1] which isn't good from a rea