OpenSolaris

Printable Version Enter a New Search
Bug ID 4790586
Synopsis bogus coding in kstrputmsg()
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:streams
Keywords
Responsible Engineer Peter Memishian
Reported Against s10_22
Duplicate Of
Introduced In solaris_2.6
Commit to Fix snv_25
Fixed In snv_25
Release Fixed solaris_nevada(snv_25)
Related Bugs
Submit Date 9-December-2002
Last Update Date 4-April-2007
Description
by inspection, streamio.c about line 8000: either mblk could be derefed when
NULL, or has a pointless test for NULL (and should assert non-NULL).
=====
				if (mctl->b_datap->db_frtnp != NULL)
                                        mp = dupmsg(mctl);
                                else
                                        mp = copymsg(mctl);

                                if (mp != NULL || mctl == NULL)
                                        break;
=====
Work Around
N/A
Comments
N/A