-
rswindell authored
there's a malloc error. smb_copymsgmem() now checks the total_dfields and total_hfields values before attempting to malloc 0-bytes (corrupted message header). smb_copymsgmem() now mallocs an extra byte for a NULL terminator for header field data (hfield_dat), and initializes to 0.
rswindell authoredthere's a malloc error. smb_copymsgmem() now checks the total_dfields and total_hfields values before attempting to malloc 0-bytes (corrupted message header). smb_copymsgmem() now mallocs an extra byte for a NULL terminator for header field data (hfield_dat), and initializes to 0.