[1455] in Moira Commits

home help back first fref pref prev next nref lref last post

moira commit: "moira/lib mr_connect.c"

daemon@ATHENA.MIT.EDU (zacheiss@MIT.EDU)
Thu Sep 7 14:22:04 2006

Date: Thu, 7 Sep 2006 14:21:49 -0400 (EDT)
From: zacheiss@MIT.EDU
Message-Id: <200609071821.k87ILnBu005374@sipb-office-escape-pod.mit.edu>
To: moira-commits@MIT.EDU

Update of /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/lib
In directory sipb-office-escape-pod.mit.edu:/afs/dev.mit.edu/user/zacheiss/moira/krb5-merge/lib

Modified Files:
	mr_connect.c 
Log Message:
- Error out on overlong challenges as well as too short ones, and check
  the length before attempting to malloc() the buffer.

- Don't try to free the buffer we attempted to allocate if malloc()
  fails.

- Correctly handle the case of recv() failing with EINTR.

- Correctly handle recv() returning 0.


home help back first fref pref prev next nref lref last post