Project

General

Profile

Actions

Bug #7878

closed

libhotplug: libhotplug.c may use uninitialized pointer

Added by Toomas Soome over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-02-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

../common/libhotplug.c:476:10: error: 'root' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (root->hp_basepath == NULL) {
      ~~~~^~~~~~~~~~~~~
Actions

Also available in: Atom PDF