原贴中的描述可能不太清楚。
sint16 inReqOutRep(uint8 **obp, uint16 olen, const uint8 *ibp, uint16 ilen) { const uint8 *ibpend, *inp; uint8 *obpend, *outp;
ibpend = ibp + ilen; /* Read from start to end */ inp = ibp;
outp = *obp; obpend = *obp - olen; while (inp < ibpend) { .... //无论如何测试,里面代码运行不到 } } |