Public bug reported:
I spotted another (double) null pointer dereference in main().
Look at this snippet:
++partnum;
partname_begin = strstr(data_begin, name_key);
partname_begin = strstr(partname_begin, name_begin) + strlen(name_begin);
partname_end = strstr(partname_begin, name_end);
The results of the strstr calls are not checked against NULL.
** Affects: dmg2img (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1835465
Title:
Another null ptr deref in main()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmg2img/+bug/1835465/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs