scality / Droplet

Cloud storage client library
http://www.scality.com
Other
54 stars 33 forks source link

Posix Backend: Misuse of path components leads to unexpected failures #179

Closed Joacchim closed 9 years ago

Joacchim commented 9 years ago

Within the posix backend, there are numerous path components misused within a printf format. For instance, in dpl_posix_head, resource is used as a format's parameter, without checking whether it's null or not. This leads to the path containing a "(null)" instead of an empty string, thus creating unexpected failures.

Joacchim commented 9 years ago

Fixed by pull request #181