Skip to content

mdssvc: fix kMDScopeArray parsing

Ralph Böhme requested to merge samba-team/devel/samba:slow-kMDScopeArray into master

In macOS Ventura marshalling of kMDScopeArray in the "openQueryWithParams" request has changed from

  string: kMDScopeArray
  sl_array_t(#1): {
    string: /foo/bar
  }

to:

  string: kMDScopeArray
  sl_array_t(#1): {
    sl_array_t(#1): {
      string: /foo/bar
    }
  }

With this patch we check both encodings. Bug fixed according to user feedback.

Edited by Ralph Böhme

Merge request reports

Loading