From 42b6af8e076599e0e8d08c2c9b68c318cdaf0434 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 22 Oct 2019 18:53:20 -0400 Subject: [PATCH] lr: Use SfBufferAttr_FixedSize in _lrResolvePath(). --- nx/source/services/lr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/lr.c b/nx/source/services/lr.c index b7cb6ebf..f7c15212 100644 --- a/nx/source/services/lr.c +++ b/nx/source/services/lr.c @@ -42,7 +42,7 @@ Result lrOpenRegisteredLocationResolver(LrRegisteredLocationResolver* out) { static Result _lrResolvePath(Service* s, u64 tid, char *out, u32 cmd_id) { char out_path[FS_MAX_PATH] = {0}; Result rc = serviceDispatchIn(s, cmd_id, tid, - .buffer_attrs = { SfBufferAttr_Out | SfBufferAttr_HipcPointer }, + .buffer_attrs = { SfBufferAttr_Out | SfBufferAttr_HipcPointer | SfBufferAttr_FixedSize }, .buffers = { { out_path, FS_MAX_PATH } }, );