FW: How to verify?

"Pawling, John" <[email protected]> Wed, 28 Mar 2001 10:11:01 -0500
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>
 
-----Original Message-----
From: Colestock, Robert 
Sent: Wednesday, March 28, 2001 10:10 AM
To: 'Erik Rissanen'
Cc: Pawling, John
Subject: RE: How to verify?


Erik:
 
Wow.  Thank you for reporting this.  This error was very subtle; it is
broken in all of our releases.  If any component of the security label is
missing, there will be an error freeing the memory.  The fix is as follows
(it will be in our next release):
 
<<<<<<<<in sm_Attr.cpp, around line 3795
 
CSM_SecLbl & CSM_SecLbl::operator = (CSM_SecLbl &pseclabel)
{
    m_PolicyId = pseclabel.m_PolicyId;
 
    if (pseclabel.m_plSecClass)
    {
        m_plSecClass = new long (*pseclabel.m_plSecClass);
    }
    else                                    // NEW
        m_plSecClass = NULL;    // NEW
    if (pseclabel.m_pPmark)
    {
        m_pPmark = new CSM_Buffer(*pseclabel.m_pPmark);
    }
    else                              // NEW
        m_pPmark = NULL;    // NEW
    if (pseclabel.m_pSecCats)
    {
        m_pSecCats = new CSM_SecCatLst(*pseclabel.m_pSecCats);
    }
    else                                 // NEW
        m_pSecCats = NULL;    // NEW
    return *this;
} // END OF = OPERATOR OVERLOAD MEMBER FUNCTION

 
I have also added this test to our permanent unit test set for each release.
 
Bob Colestock
VDA

-----Original Message-----
From: Erik Rissanen [mailto:[email protected]]
Sent: Wednesday, March 28, 2001 5:21 AM
To: 'Colestock, Robert'
Subject: SV: How to verify?




Yes, I am running SFL 1.9. 

Regards, Erik 


-----Ursprungligt meddelande----- 
Från: Colestock, Robert [ mailto:[email protected]
<mailto:[email protected]> ] 
Skickat: den 27 mars 2001 17:15 
Till: 'Erik Rissanen' 
Kopia: Pawling, John; '[email protected]' 
Ämne: RE: How to verify? 


Erik: 
  
I am glad to hear it works.  
  
Are you running the version 1.9 SFL?  There was a problem with the OPTIONAL 
ESSPrivacyMark on the previous release.  It should be fixed when you 
upgrade. 
  
Bob Colestock 
VDA.