Hi,
I think that I found a bug in the file
nsis-0.5.0-dev\nslp\natfw\objects\NatFwDataTerminalInfoObject.cpp
observe the following method
void NatFwDataTerminalInfoObject::analyze(unsigned char * buffer, unsigned int length) { tail = buffer; iPtr = tail; pPtr = tail; sPtr = tail; tail += 2; dsprefixPtr = tail; tail += 3; dsprotocolPtr = tail; tail += 4; destportPtr = tail; tail += 6; srcportPtr = tail; tail += 8; addrPtr = tail; tail = buffer + length; }
In my opinion you should change the following lines
tail += 2; tail += 3; tail += 4; tail += 6; tail += 8;
by
tail += 2; tail += 1; tail += 1; tail += 2; tail += 2;
or alternatively by
tail = buffer + 2; tail = buffer + 3; tail = buffer + 4; tail = buffer + 6; tail = buffer + 8;
Regards,
Sergio Lembo
nsis_imp@informatik.uni-goettingen.de