You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
senderSendPkt mishandles the PAD_LENGTH define if it is not 0. it will malloc a buffer of size (len + 2 * PAD_LENGTH) and memcpy (len + PAD_LENGTH) bytes from the packet, i.e. PAD_LENGTH bytes from behind the buffer. it will then send (len + 2 * PAD_LENGTH) bytes to the network, i.e. the extra data from behind the packet and PAD_LENGTH uninitialized bytes from the malloced ppacket.
The text was updated successfully, but these errors were encountered:
senderSendPkt
mishandles thePAD_LENGTH
define if it is not 0. it will malloc a buffer of size (len + 2 * PAD_LENGTH) and memcpy (len + PAD_LENGTH) bytes from the packet, i.e. PAD_LENGTH bytes from behind the buffer. it will then send (len + 2 * PAD_LENGTH) bytes to the network, i.e. the extra data from behind the packet and PAD_LENGTH uninitialized bytes from the mallocedppacket
.The text was updated successfully, but these errors were encountered: