Apache OpenOffice (AOO) Bugzilla – Issue 16213
InvocationAdapterFactory doesn't check for outparametercount ->crash
Last modified: 2004-02-15 07:30:34 UTC
Hi Daniel, the invocation-adapter-factory does not check for the number of outparameters, that are returned by the XInvocation.invoke() implementation. This leads to a crash later in the bridge code, where the expected outparamters aren't initialized. I yet can't provide sample code (too complicated), if you need it, tell me. Joerg
It would be nice to get this fixed until OOo1.1rc, though it is not a real problem for me.
Created attachment 7222 [details] Suggestion to fix the crash
If this is not a real problem now, how about targetting 2.0? I have problems arguing for fixing this into oo1rc, because you wrote this is not a real problem. People tend to be more restrictive here nowadays concerning last minute bug fixes (seems that they have learnt from the past), which looks sensible to me for stable releases. Last oo11rc cws will be in one/two days. I hope you agree or convince Kay :)
retargeted.
Hi, actually targetting it to OOo2.0 is too late. KR, what's your opinion here ? The bug hits you, if e.g. a python programmer implements an UNO object method with out parameters in the wrong way (e.g. an XInputStream, which is not so seldom). Once the programmer gets to know the reason for the crash, he can workaround it by fixing his wrong implementation. Neitherway, its a crash, and gives a potential third party developer a bad impression about office stability. If you need a longer test period for the fix, how about targeting it to 1.1 final or 1.1.x with x > 0 ? These targets don't yet exist, but will show up in future, I guess. BTW, my suggested fix does not seem to be very risky IMHO ... Bye, Joerg
Joerg, you originaly said, that these is not a real problem for you. So, just for the protocol, we are currently concentrating on real problems :-). On the other hand, I tend to agree that this is a simple and unrisky fix, but I think we don't want to have it for the final, but may be 1.1.1 / PP1.
Ok, setting target to OOo 1.1.1, but we should remember to integrate it into the source tree as soon as it exists to have the longest possible test phase.
Daniel, as this is low risk and error handling only, please fix it in 1.1RC. We avoid having antoher library in the patch then.
@jbu: fixed in iafactory.cxx rev 1.10.18.1 Please review/verify ASAP!
reassigned.
started.
resolved
Works fine for me. BTW, nice stacktraces in assertions feature :o)
close issue