bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dc OS X specific glitch


From: D. Kevin McGrath
Subject: dc OS X specific glitch
Date: Thu, 27 Mar 2003 21:40:17 -0500

While working with the below perl script, which is one of the more common scripts to implement RSA, I came across some oddness. When using a key of more than 512 bits, there is always a seg fault error. Also, the attached file contains a command which should print out the Lewis Carrol poem "Jabberwocky" that I found on the internet while searching for other instances of the bug. I have found it only on OS X, running on TiBooks. 2 were default 10.2.4 installs with the latest Dev Tools installs, and the other had a long time fink install as well. When running either the script or just dc directly on a FreeBSD box, there are no errors at all. Have you had other reports of this problem?

There are other places where the same error has occurred, and it always seems to be somewhere in the math libraries, but I can't trace it any more than that, and this is the only reproduceable one that I can find. Any ideas?

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


D. Kevin McGrath




reply via email to

[Prev in Thread] Current Thread [Next in Thread]