• Alex Henrie's avatar
    rpcrt4/tests: Don't use an array of pointers in test_conf_complex_struct. · e09c93de
    Alex Henrie authored
    An array of pointers isn't conformant on 64-bit and will overrun the
    destination buffer when unmarshalling. Since the purpose of this
    function is to test a conformant FC_BOGUS_STRUCT, use one that is
    conformant on both 32-bit and 64-bit.
    
    The revised test coincidentally reveals that there is a problem with the
    padding or alignment after a marshalled 16-bit enum, which will need to
    be addressed separately.
    Co-authored-by: 's avatarZebediah Figura <z.figura12@gmail.com>
    e09c93de
ndr_marshall.c 118 KB