You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2013/07/15 15:01:27 UTC
svn commit: r1503221 - /subversion/trunk/subversion/libsvn_subr/win32_xlate.c
Author: danielsh
Date: Mon Jul 15 13:01:27 2013
New Revision: 1503221
URL: http://svn.apache.org/r1503221
Log:
Follow-up to r1503203:
* subversion/libsvn_subr/win32_xlate.c
(get_page_id_from_name): Don't read freed memory.
Found by: philip
Modified:
subversion/trunk/subversion/libsvn_subr/win32_xlate.c
Modified: subversion/trunk/subversion/libsvn_subr/win32_xlate.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/win32_xlate.c?rev=1503221&r1=1503220&r2=1503221&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/win32_xlate.c (original)
+++ subversion/trunk/subversion/libsvn_subr/win32_xlate.c Mon Jul 15 13:01:27 2013
@@ -122,7 +122,7 @@ get_page_id_from_name(UINT *page_id_p, c
{
apr_status_t saved = err->apr_err;
svn_error_clear(err);
- return err->apr_err; /* probably SVN_ERR_ATOMIC_INIT_FAILURE */
+ return saved; /* probably SVN_ERR_ATOMIC_INIT_FAILURE */
}
hr = CoCreateInstance(&CLSID_CMultiLanguage, NULL, CLSCTX_INPROC_SERVER,