star-stl

Load STereo Lithography (StL) file format
git clone git://git.meso-star.fr/star-stl.git
Log | Files | Refs | README | LICENSE

commit 0a4991d8742fa0137104e2b42b9a0503bfd1d817
parent 331f53cd4a9cd0471c7c2bc18343c1852879848e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 23 Apr 2025 12:24:05 +0200

Do not write uninitialized data to the binary load test

Instrumentation tools issue a warning.

Diffstat:
Msrc/test_sstl_load_binary.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test_sstl_load_binary.c b/src/test_sstl_load_binary.c @@ -167,7 +167,7 @@ check_1_triangle_no_normal(struct sstl* sstl) static void check_invalid_file(struct sstl* sstl) { - const char header[80]; + const char header[80] = {0}; const uint32_t ntris = 1; const float N[3] = {0,0,0}; const float v0[3] = {0,0,0};