Revert hydra HXP_DATA transition
All checks were successful
Altlinux build / build-alt (push) Successful in 2m36s
Archlinux build / build-arch (push) Successful in 3m4s
Archlinux build / make-test (push) Successful in 1m1s
Debian build / build-ubuntu (push) Successful in 3m42s

This commit is contained in:
Alexey Khromov 2025-04-24 00:09:49 +03:00
parent 4c796b042c
commit a2479e18f0

View File

@ -481,7 +481,7 @@ static char *hydra_putuueblock(char *buf, char *src, size_t szsrc)
*buf++ = HYDRA_UUENC(src[0] >> 2);
*buf++ = HYDRA_UUENC(((src[0] << 4) & 0x30) | ((src[1] >> 4) & 0x0f));
*buf++ = HYDRA_UUENC(((src[1] << 2) & 0x3c) | ((src[2] >> 6) & 0x03));
*buf++ = (HYDRA_UUENC(src[2]) & 0x3f); //-V0578
*buf++ = HYDRA_UUENC(src[2] & 0x3f); //-V0578
}
if( szsrc > 0 )
@ -1725,8 +1725,7 @@ int hydra_batch(s_hydrainfo *hi, s_protinfo *pi)
{
log("Hydra: got invalid FINFOACK packet (ignored)");
}
offs = hydra_getlong(hi->ibuf);
if( offs == 0 )
else if( (offs = hydra_getlong(hi->ibuf)) == 0 ) //-V0560 do not touch
{
txlastack = 0;
txtries = 0;