mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r15227: Fix a valgrind error. We are marshalling here, not unmarshalling.
Jeremy, can you check this? This was part of your -O6 on 64bit sweep.
Volker
(This used to be commit 4fa5dbcc8d
)
This commit is contained in:
parent
968f265c1b
commit
a1d47f3e99
@ -151,10 +151,9 @@ BOOL netsamlogon_cache_store( const char *username, NET_USER_INFO_3 *user )
|
||||
prs_init( &ps, RPC_MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL);
|
||||
|
||||
{
|
||||
uint32 ts;
|
||||
uint32 ts = (uint32)t;
|
||||
if ( !prs_uint32( "timestamp", &ps, 0, &ts ) )
|
||||
return False;
|
||||
t = (time_t)ts;
|
||||
}
|
||||
|
||||
if ( net_io_user_info3("", user, &ps, 0, 3, 0) )
|
||||
|
Loading…
Reference in New Issue
Block a user