apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Zeisberger <zeisb...@informatik.uni-freiburg.de>
Subject Re: [PATCH] fix apr_xlate_conv_buffer and testxlate
Date Wed, 01 Dec 2004 11:44:18 GMT
Hello Joe,

Joe Orton wrote:
> > 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.
Ah, I only looked over the patch you posted - not over the commit you
made.

Thanks for your quick answer.

Bye
Uwe

-- 
Uwe Zeisberger

exit vi, lesson II:
: w q ! <CR>

NB: write the current file

Mime
View raw message