Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
all
-
other
Description
Functions like printf can fail. Subversion should not just ignore the return value and continue. The log command in the svn client uses printf without any checks. The function apr_file_printf is similar to printf. The diff command in libsvn_client uses apr_file_printf without any checks. Some of these could use svn_io_file_printf but be aware that this will allocate memory for a sprintf first. Some should use apr_file_puts or apr_file_write directly.