Bug #57222 apply-log of incremental backup fails when iteration goes beyond end of array

Submitted: 4 Oct 2010 17:19 Modified: 28 Jan 2011 0:23
Reporter: Victor Kirkebo Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:3.5.2 OS:Any
Assigned to: Satya B CPU Architecture:Any

[4 Oct 2010 17:19] Victor Kirkebo
Description:
A typo in the is_in_incremental function in innobackup.c may cause an iteratation to go beyond the end of an array. When this happens mysqlbackup seems to crash without warning and without returning an exit code. If a full backup is taken and a table is deleted before an incremental backup is taken it will not be possible to run apply-log of the incremental backup towards the full backup.

How to repeat:
Please read the source code of mysqlbackup for the is_in_incremental function
[6 Oct 2010 5:44] Satya B
Thanks victor for debugging the crash and for the suggested patch.
[7 Oct 2010 6:55] Ingo Strüwing
Code patch and modification of incremental test cases are fine.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.