fix null pointer ref in logger for bin update cmd
reported by viennadd on github. (SourceBrella Inc)
@@ -2287,7 +2287,8 @@ static void process_bin_update(conn *c) {
}
/* FIXME: losing c->cmd since it's translated below. refactor? */
LOGGER_LOG(c->thread->l, LOG_MUTATIONS, LOGGER_ITEM_STORE,
- NULL, status, 0, key, nkey, it->exptime, ITEM_clsid(it));
+ NULL, status, 0, key, nkey, req->message.body.expiration,
+ ITEM_clsid(it));
/* Avoid stale data persisting in cache because we failed alloc.
* Unacceptable for SET. Anywhere else too? */
