Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanchristopheruel authored Oct 17, 2024
1 parent 49c318e commit 0032ca6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0032ca6

Please sign in to comment.