From 0032ca636b1a55b44e1739e6742265ab3ad05e36 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Ruel Date: Thu, 17 Oct 2024 01:12:32 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cafacdc..c648f81 100644 --- a/README.md +++ b/README.md @@ -149,9 +149,11 @@ quad[:,1:4,:] *= scale # Avoid scaling normals ``` ### Read large STL file -To read large STL file with a large triangle count > **1 000 000**, the openstl buffer overflow safety must be unactivated with +To read STL file with a large triangle count > **1 000 000**, the openstl buffer overflow safety must be unactivated with `openstl.set_activate_overflow_safety(False)` after import. Deactivating overflow safety may expose the application -to potential buffer overflow risks (if openstl is used in a backend server with sensible data for example). +to a potential buffer overflow attack vector since the stl standard is not backed by a checksum. +This can cause significant risks if openstl is used as part of a service in a backend server for example. For +domestic usage, ignore this warning. # C++ Usage ### Read STL from file