[eros-cvs] cvs commit: eros/src/base/domain/pcc proccre.c
shap@eros.cs.jhu.edu
shap@eros.cs.jhu.edu
Mon, 26 Nov 2001 00:50:21 -0500
shap 01/11/26 00:50:21
Modified: src/base/domain/pcc proccre.c
Log:
Process creator no longer takes a string, and hasn't for a very long
time. Unfortunately, there was some vestigial code that did so in the
ProcessRequest logic. This was interacting with an uninitialized
rcv_data pointer to generate a trap code. The value it was trapping on
was an on-stack garbage value produced earlier by the crt0 logic.
This was obscure.
Revision Changes Path
1.53 +0 -1 eros/src/base/domain/pcc/proccre.c
Index: proccre.c
===================================================================
RCS file: /cvs/eros/src/base/domain/pcc/proccre.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- proccre.c 2001/10/03 00:57:42 1.52
+++ proccre.c 2001/11/26 05:50:21 1.53
@@ -108,7 +108,6 @@
uint32_t result = RC_OK;
/* Reset receive args for next invocation: */
- argmsg->rcv_len = 4;
argmsg->snd_key0 = 0; /* until proven otherwise */
argmsg->snd_key1 = 0; /* until proven otherwise */