Fix bug in SMB_FIND_INFO_STANDARD parsing found by Volker.
commit7eee4947f30ba1526fadcb3157999e03c0b105e7
authorJeremy Allison <jra@samba.org>
Tue, 21 Aug 2012 22:46:54 +0000 (21 15:46 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 22 Aug 2012 17:03:20 +0000 (22 10:03 -0700)
tree5f2449c00fe500e99712d8eda83a7160c4d02dc5
parent1219eaffbe60ea875306f84d3ce7965ce4ae6384
Fix bug in SMB_FIND_INFO_STANDARD parsing found by Volker.

The function align_string() is now broken as base_ptr no longer
points at the start of the SMB data packet, but
at the start of the returned TRANS2 data area.

Replace it with a check for FLAGS2_UNICODE_STRINGS and
a call to ucs2_align().
source3/libsmb/clilist.c