mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
1989ddc252
nc4_check_name() checks that the provided string doesn't exceed NC_MAX_NAME, but fails to do so after calling nc_utf8_normalize(). This extra check is needed since a caller of nc4_check_name(), like NC4_def_dim, allocates norm_name as char norm_name[NC_MAX_NAME + 1] Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2840 Credit to OSS-Fuzz |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
error4.c | ||
Makefile.am | ||
nc3stub.c | ||
nc4attr.c | ||
nc4dim.c | ||
nc4dispatch.c | ||
nc4file.c | ||
nc4grp.c | ||
nc4hdf.c | ||
nc4info.c | ||
nc4internal.c | ||
nc4printer.c | ||
nc4type.c | ||
nc4var.c | ||
ncfunc.c |