bug in ldiv

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Tue Sep 29 12:43:22 AEST 1981


>From dave at UCLA-Security Tue Sep 29 12:38:33 1981
While investigating a bug in ldiv, I heard a rumor that a list of
ldiv and other bugs was presented at the Jan 81 Usenix meeting.  Does
anyone have this list of bugs (preferably with fixes)?  The par-
ticular bug I encountered was in the "clever part" of ldiv, which
assumes that the destination registers remain unchanged after a 
failed divide.  This is the case on the 11/45, but not the '23 or
the '44.  My proposed fix is to simply save the register before the
potential failure and then restore it.  Any more elegant ideas?
--dave--



More information about the Comp.unix.wizards mailing list