Hdp for hdf4-tools null pointer dereference
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libhdf4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
Below is some description about crash, found by dynamic analysis tool Sydr (part of Crusher system) https:/
Dereference is occured at HDstrcmp function at cdf.c:1969
Starting program: /home/fedotoff/
Breakpoint 1, hdf_read_dims (xdrs=0x5193a0, handle=0x518330, vg=805306368) at cdf.c:1814
1814 char vgname[
(gdb) c
Continuing.
Breakpoint 2, hdf_read_dims (xdrs=0x5193a0, handle=0x518330, vg=805306368) at cdf.c:1969
1969 if (!HDstrcmp(vgname, dimension[
(gdb) c
Continuing.
Breakpoint 2, hdf_read_dims (xdrs=0x5193a0, handle=0x518330, vg=805306368) at cdf.c:1969
1969 if (!HDstrcmp(vgname, dimension[
(gdb) p vgname
$5 = "fakeDim2", '\000' <repeats 247 times>
(gdb) p dimension[
$6 = 0x0
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7d6db82 in ?? () from /usr/lib/