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
Somehow my RDP server gave a response to rdesktop that caused pz_powm(y, x, exp, mod); (mod) to be 0 presumably, causing a SIGFPE arithmetic exception.
Hi,
Somehow my RDP server gave a response to rdesktop that caused
pz_powm(y, x, exp, mod);
(mod) to be 0 presumably, causing a SIGFPE arithmetic exception.If I break at
_gmpz_powm
(to see what values are in the registers):Doesn't really make sense since the 4th arg (rcx) is 1 not 0. Perhaps
_gmpz_powm
internally subtracts 1 first or smth?If I break at
rdssl_rsa_encrypt
:modulus
is"\0"
!Is the correct solution here to add a
assert(modulus)
to prevent undefined behavior? Happy to submit a PRThe text was updated successfully, but these errors were encountered: