mz-automation / libiec61850

Official repository for libIEC61850, the open-source library for the IEC 61850 protocols
http://libiec61850.com/libiec61850
GNU General Public License v3.0
828 stars 444 forks source link

parseInitResponseDetail function, wrong parsing #469

Closed enoel14 closed 6 months ago

enoel14 commented 11 months ago

wrong buffer position when parsing service supported:

self->parameters.servicesSupported[i] = buffer[bufPos + i];

I change to this: self->parameters.servicesSupported[i] = buffer[bufPos+1 + i];

mzillgith commented 10 months ago

Thank you for the hint. It should be fixed now.