xmlwf compiled with readfilemap.c will fail with an
"out of memory" error on file size zero when executing
malloc( ) . The attached patch handles 0 size files in
the same manner as in win32filemap.c. The patch also
includes a close( ) of the open file if malloc( ) fails.
Log in to post a comment.