Bug 9114 - Client parsing of SMB_FIND_INFO_STANDARD unicode strings fails on alignment.
Client parsing of SMB_FIND_INFO_STANDARD unicode strings fails on alignment.
Status: ASSIGNED
Product: Samba 3.6
Classification: Unclassified
Component: libsmbclient
unspecified
All All
: P5 normal
: ---
Assigned To: Jeremy Allison
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-22 19:53 UTC by Jeremy Allison
Modified: 2012-08-22 21:03 UTC (History)
0 users

See Also:


Attachments
git-am patch for 3.6.next. (128 bytes, patch)
2012-08-22 20:07 UTC, Jeremy Allison
vl: review-
Details
git-am fix for 3.6.next, now with --stdout ! :-). (3.37 KB, patch)
2012-08-22 20:46 UTC, Jeremy Allison
vl: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2012-08-22 19:53:17 UTC
Found by Volker.

The function align_string() is 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.

Patch for 3.6.next and 3.5.next to follow.

Jeremy.
Comment 1 Jeremy Allison 2012-08-22 20:07:32 UTC
Created attachment 7810 [details]
git-am patch for 3.6.next.
Comment 2 Volker Lendecke 2012-08-22 20:41:55 UTC
Comment on attachment 7810 [details]
git-am patch for 3.6.next.

Well, '--stdout' as an argument to git format-patch might help Karolin :-)
Comment 3 Jeremy Allison 2012-08-22 20:46:09 UTC
Created attachment 7811 [details]
git-am fix for 3.6.next, now with --stdout ! :-).

Hmmm. You guessed right :-). New patch with --stdout :-).

Thanks !

Jeremy.