bp74 / Zstandard.Net

A Zstandard wrapper for .Net
Other
135 stars 26 forks source link

Fix null "root" path when loading libzstd.dll #25

Open ducng99 opened 2 years ago

ducng99 commented 2 years ago

Path.GetDirectoryName can return null, which will then break Path.Combine. Passing string.Empty or "" or Directoy.GetCurrentDirectory() to Combine() will be more reasonable