#1796 Check pointer before checking its members

open
nobody
5
2013-05-29
2013-05-29
dr_mohan
No

Changes found by Michele Baldessari in bug #3613753.

Discussion

  • dr_mohan
    dr_mohan
    2013-05-29

    sysfs2hpi.c patch

     
    Attachments
  • dr_mohan
    dr_mohan
    2013-05-29

    Patch attached. So far I could not see sysfs_get_mnt_path in libsysfs, so sysfs is not enabled