apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [PATCH] fix apr_xlate_conv_buffer and testxlate
Date Wed, 01 Dec 2004 11:33:39 GMT
On Wed, Dec 01, 2004 at 12:29:28PM +0100, Uwe Zeisberger wrote:
> Yesterday I noted a compatablity issue with this change:
> If an application uses the new convention and is linked using a lib
> without the change (i.e. 1.0.0) a NULL-Pointer is dereferenced by the
> assignment of to_convert.  (This is why `if (inbuf)' was added to line
> 389 of xlate.c.)

Yes, the new mode is documented in the header to only work with apr-util
1.1.0 or later, which is consistent the APR versioning requirements. 
The application will have to check the version at compile-time or
run-time - apu_version.h allows both.



View raw message