lockProvider: memcmp is broken...