fixed memory bug in handling of text chunk: if the total number of interesting fields, key/value pairs, and comments, was greater than NRRD_FIELD_MAX+1, then the fixed-length allocation of the png_text array would be insufficient.  The png_text array is now dynamically allocated.
fixed memory bug in handling of text chunk: if the total number of interesting fields, key/value pairs, and comments, was greater than NRRD_FIELD_MAX+1, then the fixed-length allocation of the png_text array would be insufficient.  The png_text array is now dynamically allocated.


git-svn-id: 9e9401559e51101c165cdce4d49b411eb20436ed@3102 3d70eeeb-363e-0410-a505-8a46323a89f2

Slicer/teem,BRAINSia/teem,BRAINSia/teem,Slicer/teem,Slicer/teem,Slicer/teem,BRAINSia/teem,BRAINSia/teem,BRAINSia/teem,Slicer/teem