~ubuntu-branches/ubuntu/precise/krb5/precise-updates

« back to all changes in this revision

Viewing changes to src/ccapi/server/win/ccs_request_proc.c

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2011-12-01 19:34:41 UTC
  • mfrom: (28.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20111201193441-9tipg3aru1jsidyv
Tags: 1.10+dfsg~alpha1-6
* Fix segfault with unknown hostnames in krb5_sname_to_principal,
  Closes: #650671
* Indicate that this library breaks libsmbclient versions that depend on
  krb5_locate_kdc, Closes: #650603, #650611

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ccapi/server/win/ccs_request_proc.c */
1
2
/*
2
 
 * $Header$
3
 
 *
4
3
 * Copyright 2008 Massachusetts Institute of Technology.
5
4
 * All Rights Reserved.
6
5
 *
43
42
    long*       return_status ) {   /* Return code */
44
43
 
45
44
    cc_int32        status  = 0;
46
 
    k5_ipc_stream    stream;
47
 
    DWORD*          p       = (DWORD*)(tspHandle);
 
45
    k5_ipc_stream   stream;
 
46
    UINT64*         p       = (UINT64*)(tspHandle);
48
47
    WIN_PIPE*       pipe    = NULL;
49
48
#if 0
50
49
    cci_debug_printf("%s rpcmsg:%d; UUID:<%s> SST:<%s>", __FUNCTION__, rpcmsg, pszUUID, serverStartTime);
71
70
    const char* pszUUID,            /* Data buffer */
72
71
    long*       return_status ) {   /* Return code */
73
72
 
74
 
    DWORD*      p       = (DWORD*)(tspHandle);
 
73
    UINT64*     p       = (UINT64*)(tspHandle);
75
74
    WIN_PIPE*   pipe    = ccs_win_pipe_new(pszUUID, *p);
76
75
#if 0
77
76
    cci_debug_printf("%s; rpcmsg:%d; UUID: <%s>", __FUNCTION__, rpcmsg, pszUUID);