+2002-04-04 Sam Hartman <hartmans@mit.edu>
+
+ * radix.c (decode;): Patch from Mark Eichin for one char buffer overflow [635]
+
+
2002-03-05 Ken Raeburn <raeburn@mit.edu>
* cmds.c (unix): Define if BSD is defined.
D = p - radixN;
switch (i&3) {
case 0:
- outbuf[j] = D<<2;
+ c = D<<2;
break;
case 1:
- outbuf[j++] |= D>>4;
- outbuf[j] = (D&15)<<4;
+ outbuf[j++] = c | D>>4;
+ c = (D&15)<<4;
break;
case 2:
- outbuf[j++] |= D>>2;
- outbuf[j] = (D&3)<<6;
+ outbuf[j++] = c | D>>2;
+ c = (D&3)<<6;
break;
case 3:
- outbuf[j++] |= D;
+ outbuf[j++] = c | D;
}
}
switch (i&3) {