Bug 750489 - Forward null defect found by Coverity (iscsi-initiator-utils)
Summary: Forward null defect found by Coverity (iscsi-initiator-utils)
Keywords:
Status: CLOSED DUPLICATE of bug 810197
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andy Grover
QA Contact: Storage QE
URL:
Whiteboard:
Depends On:
Blocks: 767187
TreeView+ depends on / blocked
 
Reported: 2011-11-01 10:14 UTC by Pavel Raiskup
Modified: 2012-06-26 16:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 723185
Environment:
Last Closed: 2012-04-05 21:08:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Pavel Raiskup 2011-11-01 10:14:12 UTC
=> open-iscsi-2.0-872-rc4-bnx2i/usr/discovery.c:869

Null dereference of variable iface.

This is a clone of bug 723185.

Coverity says:

Error: FORWARD_NULL:
/builddir/build/BUILD/open-iscsi-2.0-872-rc4-bnx2i/usr/discovery.c:852: var_compare_op: Comparing "iface" to null implies that "iface" might be null.
/builddir/build/BUILD/open-iscsi-2.0-872-rc4-bnx2i/usr/discovery.c:869: var_deref_model: Passing null variable "iface" to function "iface_copy", which dereferences it.
/builddir/build/BUILD/open-iscsi-2.0-872-rc4-bnx2i/usr/iface.c:533: deref_parm_field_in_call: Function "strlen" dereferences field "src->name". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.)

Comment 2 Mike Christie 2012-03-20 20:54:00 UTC
It will be ok to push this to 6.4.

Comment 3 Mike Christie 2012-04-05 21:08:35 UTC

*** This bug has been marked as a duplicate of bug 810197 ***


Note You need to log in before you can comment on or make changes to this bug.