MXS-1304: Don't null-terminate buffers in gw_str_xor
The gw_str_xor function is used only for doing XOR operations on binary buffers.
This commit is contained in:
@ -223,8 +223,6 @@ void gw_str_xor(uint8_t *output, const uint8_t *input1, const uint8_t *input2, u
|
||||
{
|
||||
*output++ = *input1++ ^ *input2++;
|
||||
}
|
||||
|
||||
*output = '\0';
|
||||
}
|
||||
|
||||
/**********************************************************
|
||||
|
Reference in New Issue
Block a user