[Bug 367] patches for Cray port

Wendy Palm wendyp at cray.com
Tue May 13 05:31:32 EST 2003


actually, that's not true.  i've found i mis-tested and the deattack.c patch
is still needed for protocol 2-

# diff -c deattack.c.orig deattack.c
*** deattack.c.orig     Mon May 12 14:30:14 2003
--- deattack.c  Fri May  2 13:04:56 2003
***************
*** 101,111 ****
--- 101,119 ----
         if (h == NULL) {
                 debug("Installing crc compensation attack detector.");
                 n = l;
+ #ifdef _UNICOS
+               h = (u_int16_t *) xmalloc(n * sizeof(u_int16_t));
+ #else
                 h = (u_int16_t *) xmalloc(n * HASH_ENTRYSIZE);
+ #endif /* _UNICOS */
         } else {
                 if (l > n) {
                         n = l;
+ #ifdef _UNICOS
+                       h = (u_int16_t *) xrealloc(h, n * sizeof(u_int16_t));
+ #else
                         h = (u_int16_t *) xrealloc(h, n * HASH_ENTRYSIZE);
+ #endif /* _UNICOS */
                 }
         }

***************
*** 129,135 ****
--- 137,147 ----
                 return (DEATTACK_OK);
         }

+ #ifdef _UNICOS
+       for (i=0; i<n; i++) h[i] = HASH_UNUSED;
+ #else
         memset(h, HASH_UNUSEDCHAR, n * HASH_ENTRYSIZE);
+ #endif /* _UNICOS */

         if (IV)
                 h[HASH(IV) & (n - 1)] = HASH_IV;

sorry i didn't respond earlier.  massively busy right now.

bugzilla-daemon at mindrot.org wrote:

> http://bugzilla.mindrot.org/show_bug.cgi?id=367
> 
> mouring at eviladmin.org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED
> 
> 
> 
> ------- Additional Comments From mouring at eviladmin.org  2003-05-13 00:45 -------
> Cray should be supported as of 2.5 or 2.6 (forgot which) with no special 
> patching required.
> 
> 
> 
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> 


-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154




More information about the openssh-unix-dev mailing list