netcdf-c/libsrc4
Even Rouault 1989ddc252 Fix stack buffer overflow in nc4_check_name()
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
2017-08-02 21:57:36 +02:00
..
CMakeLists.txt
error4.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Makefile.am Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nc3stub.c
nc4attr.c Added platform checks for ARM. 2017-02-03 11:19:39 -07:00
nc4dim.c
nc4dispatch.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nc4file.c ckp 2017-04-14 11:05:30 -06:00
nc4grp.c Compile with c89 -- eliminate init in for-loop 2016-11-16 08:45:15 -07:00
nc4hdf.c Merged master, DAP4 support into branch. 2017-04-19 09:29:35 -06:00
nc4info.c Corrected a double-free reported by static analysis. 2017-06-15 12:09:54 -06:00
nc4internal.c Fix stack buffer overflow in nc4_check_name() 2017-08-02 21:57:36 +02:00
nc4printer.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nc4type.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nc4var.c 1) master merge 2)fix uname -o problem 2017-03-30 16:21:31 -06:00
ncfunc.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00