ecmwf / fckit

A Fortran toolkit for interoperating Fortran with C/C++
https://confluence.ecmwf.int/display/fckit
Apache License 2.0
29 stars 15 forks source link

Add condition on array size to avoid address error #24

Closed benjaminmenetrier closed 1 year ago

benjaminmenetrier commented 1 year ago

Simple bugfix to avoid AddressSanitizer errors when a list of configuration items is present but empty.

benjaminmenetrier commented 1 year ago

Thanks @wdeconinck. I think the latest commit with less modifications is enough. Sorry for the early PR opening.

wdeconinck commented 1 year ago

Thanks Benjamin. This is now merged in develop after rebase. (closing)