From 174aff62d7a5c92b840deca9c137a98fe7da152f Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 30 Nov 2019 19:52:53 +0800 Subject: [PATCH] Fix buffer overflow --- code/nel/tools/pacs/build_indoor_rbank/mouline.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/code/nel/tools/pacs/build_indoor_rbank/mouline.cpp b/code/nel/tools/pacs/build_indoor_rbank/mouline.cpp index 57592a431..73e140464 100644 --- a/code/nel/tools/pacs/build_indoor_rbank/mouline.cpp +++ b/code/nel/tools/pacs/build_indoor_rbank/mouline.cpp @@ -16,6 +16,7 @@ #include #include +#include #include "nel/pacs/collision_mesh_build.h" #include "nel/pacs/local_retriever.h" @@ -278,24 +279,26 @@ void linkExteriorToInterior(CLocalRetriever &lr) for (i=0; i