https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238309
Bug ID: 238309 Summary: geom/geom_slice.c: potential NULL pointer dereference in g_slice_dumpconf() Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: b...@freebsd.org Reporter: da...@freebsd.org PVS Studio reports: /usr/src/sys/geom/geom_slice.c:339:1: error: V595 The 'pp' pointer was utilized before it was verified against nullptr. Check lines: 339, 342. > if (indent == NULL) { > sbuf_printf(sb, " i %u", pp->index); > sbuf_printf(sb, " o %ju", > (uintmax_t)gsp->slices[pp->index].offset); > return; > } > if (pp != NULL) { > sbuf_printf(sb, "%s<index>%u</index>\n", indent, pp->index); > ... -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"