Bug #58724 Buffer overflow in MEB 3.5.2
Submitted: 3 Dec 2010 20:30 Modified: 28 Jan 2011 23:41
Reporter: Ritheesh Vedire Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:3.5.2 OS:Any
Assigned to: Ritheesh Vedire CPU Architecture:Any

[3 Dec 2010 20:30] Ritheesh Vedire
Description:
In the function is_ibbackup_executable(), overflow occurs for the array variable
buf_stdout[]. This is a result of read_file_to_buffer() which didn't set null 
characters at the end of the buffer.

How to repeat:
See the code.

Suggested fix:
Terminate it with a null character.
[3 Dec 2010 20:31] Ritheesh Vedire
This might as well fix random failures in windows on pb2
[4 Dec 2010 6:43] Thava Alagu
Patch reviewed and approved. Ok to push.