Bug#12347040: MEMORY LEAK IN CONVERT_TZ COULD POSSIBLY CAUSE
Chaithra Gopalareddy authored
                    DOS ATTACKS
      
Problem:
For detailed description, see Bug#42502. This bug is a duplicate
of Bug#42502. The complete fix for Bug#42502 was not made as
proposed. Hence the bug still persists.
      
Fix:
Make the changes as proposed originally for the bugfix of 42502.
Which is to remove the allocation of the memory before we actually
check for any errors.
e7c6b36b