Public bug reported:

Hello,
Below is some description about crash, found by dynamic analysis tool Sydr 
(part of Crusher system) https://www.ispras.ru/en/technologies/sydr/ developed 
in ISP RAS.

Dereference is occured at HDstrcmp function at cdf.c:1969

Starting program: /home/fedotoff/hdp-test/hdp-
crash/libhdf4-4.2.14/install/bin/hdp dumpsds ./segfault19.hdf

Breakpoint 1, hdf_read_dims (xdrs=0x5193a0, handle=0x518330, vg=805306368) at 
cdf.c:1814
1814        char vgname[H4_MAX_NC_NAME] = "";
(gdb) c
Continuing.

Breakpoint 2, hdf_read_dims (xdrs=0x5193a0, handle=0x518330, vg=805306368) at 
cdf.c:1969
1969                                            if (!HDstrcmp(vgname, 
dimension[i]->name->values) &&
(gdb) c
Continuing.

Breakpoint 2, hdf_read_dims (xdrs=0x5193a0, handle=0x518330, vg=805306368) at 
cdf.c:1969
1969                                            if (!HDstrcmp(vgname, 
dimension[i]->name->values) &&
(gdb) p vgname 
$5 = "fakeDim2", '\000' <repeats 247 times>
(gdb) p dimension[i]->name->values
$6 = 0x0

Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7d6db82 in ?? () from /usr/lib/x86_64-linux-gnu/libc.so.6

** Affects: libhdf4 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "input to reproduce"
   
https://bugs.launchpad.net/bugs/1915430/+attachment/5462735/+files/segfault19.hdf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915430

Title:
  Hdp for hdf4-tools  null pointer dereference

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libhdf4/+bug/1915430/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to