aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2010-11-30 15:14:48 -0500
committerSteve French <[email protected]>2010-11-30 20:44:05 +0000
commitba03864872691c0bb580a7fb47388da337ef4aa2 (patch)
tree05584dc9061390fedf5caa749a2f7d728324b232 /tools/perf/scripts/python
parent476428f8c3bb6679f8f52bf2b935ac40bc9c7358 (diff)
cifs: fix parsing of hostname in dfs referrals
The DFS referral parsing code does a memchr() call to find the '\\' delimiter that separates the hostname in the referral UNC from the sharename. It then uses that value to set the length of the hostname via pointer subtraction. Instead of subtracting the start of the hostname however, it subtracts the start of the UNC, which causes the code to pass in a hostname length that is 2 bytes too long. Regression introduced in commit 1a4240f4. Reported-and-Tested-by: Robbert Kouprie <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Cc: Wang Lei <[email protected]> Cc: David Howells <[email protected]> Cc: [email protected] Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions