Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: tlyu@mit.edu Subject: SVN Commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 794 Use file mapping to marshall message data GlobalAlloc() is no longer supported for this purpose. Also split out leash message marshalling code into a separate function acquire_tkt_send_message_leash and improve string copy safety. Signed-off-by: Kevin Wasserman (cherry picked from commit e2ad5d74adbf3edc8a7026cad8283c0077377e81) https://github.com/krb5/krb5/commit/2a6c16566111f0e830ba4661c0614beb0f5476da Author: Kevin Wasserman Committer: Tom Yu Commit: 2a6c16566111f0e830ba4661c0614beb0f5476da Branch: krb5-1.10 src/windows/leash/LeashView.cpp | 15 +++- src/windows/leashdll/lshfunc.c | 160 +++++++++++++++++++++++++++----------- 2 files changed, 126 insertions(+), 49 deletions(-)