HydrologicEngineeringCenter / hec-dss

source code for HEC-DSS (Data Storage System)
MIT License
27 stars 7 forks source link

Memory Access violation #200

Closed ktarbet closed 1 year ago

ktarbet commented 1 year ago

Revisiting use of stringCopy(...) in hecdss.c

in hecdss.c every call such as:

 stringCopy(type, typeLength, tss->type, strlen(tss->type));

is also calling strlen on something that could be null.

image