But don't you think, reading my patch and my analysis, that the bug is quite obvious? I concede that my patch is no more than a hotfix to avoid the segfault. A true solution would need to clean up the class inheritance of the various "Printer" subclasses in hpijs. Setting ModeCount to 2 and relying on other code to fill in pMode[0] and pMode[1], as Printer::Printer() is doing it, looks all but clean to me. And maybe DJGenericVIP shoulldn't be a subclass of DJ9xxVIP after all, looking at how error conditions are handled differently.
Hi
Distro and version information is in the bug description, even the links to the binary package.
For completeness, the source package is here:
http:// download. opensuse. org/source/ distribution/ leap/15. 0/repo/ oss/src/ hplip-3. 17.9-lp150. 3.2.src. rpm
I've asked the reporter for steps to reproduce.
But don't you think, reading my patch and my analysis, that the bug is quite obvious? I concede that my patch is no more than a hotfix to avoid the segfault. A true solution would need to clean up the class inheritance of the various "Printer" subclasses in hpijs. Setting ModeCount to 2 and relying on other code to fill in pMode[0] and pMode[1], as Printer::Printer() is doing it, looks all but clean to me. And maybe DJGenericVIP shoulldn't be a subclass of DJ9xxVIP after all, looking at how error conditions are handled differently.