We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/openpst/libopenpst/blob/master/src/qualcomm/hdlc_encoder.cpp#L93
// off-by-one OOB read if i == length of data buffer[osize++] = data[i + 1] ^ HDLC_ESC_MASK;
https://github.com/openpst/libopenpst/blob/master/src/qualcomm/hdlc_encoder.cpp#L102
// int underflow if sizeof(crc) > osize uint16_t crc = crc16(reinterpret_cast<const char*>(buffer), osize - sizeof(crc));
https://github.com/openpst/libopenpst/blob/master/src/qualcomm/hdlc_encoder.cpp#L103
// OOB read if buffer length < 2 uint16_t chk = *((uint16_t*)&buffer[osize - 2]);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/openpst/libopenpst/blob/master/src/qualcomm/hdlc_encoder.cpp#L93
https://github.com/openpst/libopenpst/blob/master/src/qualcomm/hdlc_encoder.cpp#L102
https://github.com/openpst/libopenpst/blob/master/src/qualcomm/hdlc_encoder.cpp#L103
The text was updated successfully, but these errors were encountered: