Page 1 of 1

issue-#194 Meta.PutParam and Kernel.Call for open arrays are

Posted: Sun Dec 02, 2018 11:58 am
by Zinn
issue-#194 Meta.PutParam and Kernel.Call for open arrays are mismatched

Reported by Eugene Temirgaleev

Description and options for fixes

Code: Select all

StdCoder.Decode ..,, ..zO1...3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,6Fh,0k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.Impk2E3L1,6.,U08J99SdfJHPNjvQCJuGKfaqmY6MwdONl1QCh0708T,U..w.Yap.,
 sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.L7Bw,QYoE.0.4EYv,86.QC18RdfQHfMf9R9v
 Q7ONb17.,.D,,6.I12U.U,2.I3,S45.0ES9.g5AU0KyBU.2.q12.e,2.AU.Ue64VT.E.0t.UHU
 ,IzzzzzDUxU,2.0k90z.wWkD.3Qwb8R7fFT9P7vQRdFT9P79F9vQ5X1U.2.K3m.a00E.k.sUZz
 0E..U9.,.4.,sz1s41U,ozzzzz9REzVLU,.e58E,9z4E.0.D,,6.I12U.U,2.I3tfj1k.E6V.2
 HQU0KyB.,UgU.UO.,EMF.c8.6YE.0,8k0E08Mtr.0E.s7E.c4E.k.Ue.0.,6YUAU3Ikmj,6.o9
 6.I16.M.EJ.6.t3YU.UjW023MIM,9.7MDc.N.KE.6,xzzzzz765c.VU.YU3U4Ikmj,2U.EeE.E
 BU.6g6.I3.0E6,x.5s5c,t,5M2c,H.7c4c.Z.76,,U2oTM.s,3gwP.,6.AI6.I12U.U,.JFAk.
 E6V.A.AU7,x51MS6,lA.IUUE.GEuUyX2wNs1s.n.O18EBE0W3KE1UaU4o0YUWU3.7c,M.j33c9
 ErU.E.S,S,8Mtv.0E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Z3ijJiohgY3YWlWKrnK4,7Jq4.PcUZz16.,UI
 U.U72U.6.,..1cUCF.2.,UV3U.s,MK6.,k,7.,U..2,w5,E.0.320U...7V.2U,2U.2.,.,tc6
 .0kMDy.wH0k.0.1.,6.IEP.0..I10U.U,.J7.l.6.VQ.E..YVsH4EKithQVs9E3Qw7uPKbZltQ
 cjFtkm.,k62U.6..E2E.U76.2n9RC,t75J.nT32kwL,lsHFHEfGA,DO....
 --- end of encoding ---

Re: issue-#194 Meta.PutParam and Kernel.Call for open arrays

Posted: Tue Dec 11, 2018 7:17 am
by Josef Templ
excellent analysis by Eugene Temirgaleev.

There are two options for the fix as pointed out by Eugene.
I have to look into the details.
It is interesting that there is a comment in front of Kernel.Call that leaves exactly this little choice open:

Code: Select all

	(*
		type				par
		32 bit scalar	value
		64 bit scalar	low hi
		var scalar		address
		record			address tag
		array			address size
		open array	address length .. length
	*)
Look at the line: "open array address length .. length"
Is it: length0 .. lengthN-1
or is it: lengthN-1 .. length0

- Josef

Re: issue-#194 Meta.PutParam and Kernel.Call for open arrays

Posted: Fri Dec 14, 2018 7:33 am
by Josef Templ
here is the fix as proposed by Eugene.
I have tested it and looked at the detals of the implementation.
It looks very reasonable and fixes the problem.

https://redmine.blackboxframework.org/p ... 6fd8e6de4a.

- Josef

Re: issue-#194 Meta.PutParam and Kernel.Call for open arrays

Posted: Fri Dec 14, 2018 12:56 pm
by Robert