# HG changeset patch # User J. Ali Harlow # Date 1520282127 0 # Node ID 889dc38157ac200ae463446d5c20baab69688f7b # Parent 06f70d662e39a579f2fa8a4a0067ae40bd078b6a Fix bug causing invalid URI to be passed to razor_atomic_remove diff -r 06f70d662e39 -r 889dc38157ac librazor/atomic-ktm.c --- a/librazor/atomic-ktm.c Mon Mar 05 09:43:14 2018 +0000 +++ b/librazor/atomic-ktm.c Mon Mar 05 20:35:27 2018 +0000 @@ -450,7 +450,7 @@ goto abort; if (!(fa.dwFileAttributes&FILE_ATTRIBUTE_DIRECTORY)) { - if (razor_atomic_remove(atomic, dirname)) { + if (razor_atomic_remove(atomic, uri)) { free(buf); return -1; }