MFC r300322, 300340:ed(1): Cleanups for the DES mode.- Use arc4random_buf(3).- Prevent a segmentation fault when ed receives a signal while being in getpass(). [1]Obtained from: OpenBSD [1] (CVS Rev. 1.15)
MFC r298640:ed(1): switch two statements so we check the index before dereferencing.
MFC r270256:Always check the limits of array index variables before using them.Obtained from: DragonFlyBSD