Menu

#8 hddtemp: use g_strcmp0 instead of strcmp

Unstable_(example)
closed
nobody
None
1
2015-07-11
2015-07-03
Infirit
No

Passing NULL to strcmp could be unsafe or at the minimum
result in undefined behaviour. g_strcmp0 handles NULL
gracefully and returns 0.

1 Attachments

Discussion

  • Langa Lucian

    Langa Lucian - 2015-07-11

    thanks! created commit 2ef8514644 in master.

     
  • Langa Lucian

    Langa Lucian - 2015-07-11
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.