apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyrum K. Wright" <hyrum_wri...@mail.utexas.edu>
Subject Crash in apr_psprintf(), 1.4.x branch
Date Wed, 10 Mar 2010 17:26:51 GMT
In trying to get Subversion acquainted with the 1.4.x branch, I
encountered the a crash within an invocation of apr_psprintf().  The
attached patch adds a test case demonstrating the crash.  The patch is
against 1.4.x, but applies to trunk as well, where the bug is also
present.

The test case is essentially a replication of one of the calls to
apr_psprintf() that happens deep within Subversion, and which
functions just fine when working against 1.3.x.  In digging a little
deeper, it appears that the var arg pointer isn't being advanced
properly at some point in apr_vformatter(), but I'm hoping that
someone more familiar with the code will be able to figure out what's
really going on.

Cheers,
-Hyrum

Mime
View raw message