Unix software and USSR

Vadim G. Antonov avg at hq.demos.su
Sat Sep 29 06:15:37 AEST 1990


In article <4108 at rtifs1.UUCP> trt at rti.rti.org (Thomas Truscott) writes:
>Just a thought:  if your version of crypt.c has line
>that declares "L" and "R" to be arrays of size 32,
>your version is depending on L and R being allocated
>adjacent to each other.  This is an ancient bug that
>no one ever bothers to fix.
>
>Try instead:
>       static char L[64];
	^^^^^^                  - my $0.02, avg
>	#define R (L+32)

	I've done it; and it works! The new test result is: XX0/imINzSUs.
	(As you can see this bug splitted world into two parts :-)

	Thank you, Tom!

	Vadim Antonov
	DEMOS, Moscow, USSR
	(It is NOT a joke!)



More information about the Comp.unix.questions mailing list