OpenSSL breaks factor(6)

Garance A Drosehn drosih at rpi.edu
Sun Dec 29 03:46:57 UTC 2019


On 27 Dec 2019, at 17:42, Steve Kargl wrote:
>
> This patch now includes a fix for hexadecimal conversion.  It
> simple scans the string for a hex digit in [a,...,f] and assumes
> that a hexadecimal string has been entered.  A string that includes
> character from the decimal digits is assumed to by a decimal
> representation.

What if the user wants to factor a hexadecimal value which does not
happen to include [a...f]?

How about recognizing a prefix of '0x' as a way to indicate the value
is hexadecimal?

-- 
Garance Alistair Drosehn                =     drosih at rpi.edu
Senior Systems Programmer               or   gad at FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA


More information about the freebsd-current mailing list