Comment 46 for bug 501715

I've asked pitti to reject this upload.

The patch is wrong; it restores the buffer size before using any of the contents of the buffer, which will either truncate it or clear it entirely. The effect would be the same as simply never increasing the size in the first place - or worse, making all profiles come out with no files.