MB-11280 Fix Upr flow control msg parsing
MB-11280 Fix Upr flow control msg parsing

Make sure value is a null-terminated string before converting.

Change-Id: I6528b548fb837d1974e296fc5e7fb84993acca7d
Reviewed-on: http://review.couchbase.org/37795
Tested-by: David Liao <8e08c548e0b7af1f302000a438697daa6f52b5d5@couchbase.com>
Reviewed-by: Tommie McAfee <14b9b34aa8252e69dc98c6bb9bba67a2603813d2@couchbase.com>
Tested-by: Tommie McAfee <14b9b34aa8252e69dc98c6bb9bba67a2603813d2@couchbase.com>
Reviewed-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>

daverigby/kv_engine,jimwwalker/ep-engine,daverigby/kv_engine,sriganes/ep-engine,teligent-ru/ep-engine,daverigby/kv_engine,couchbase/ep-engine,sriganes/ep-engine,sriganes/ep-engine,jimwwalker/ep-engine,membase/ep-engine,jimwwalker/ep-engine,owendCB/ep-engine,membase/ep-engine,couchbase/ep-engine,owendCB/ep-engine,teligent-ru/ep-engine,teligent-ru/ep-engine,daverigby/kv_engine,couchbase/ep-engine,owendCB/ep-engine,owendCB/ep-engine,daverigby/ep-engine,daverigby/ep-engine,hisundar/ep-engine,jimwwalker/ep-engine,hisundar/ep-engine,daverigby/ep-engine,hisundar/ep-engine,membase/ep-engine,sriganes/ep-engine,membase/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,couchbase/ep-engine,daverigby/ep-engine