]> OCCT Git - occt.git/commit
0023799: Crash on copying a label
authorbugmaster <bugmaster@opencascade.com>
Mon, 1 Apr 2013 07:47:08 +0000 (11:47 +0400)
committervro <vro@opencascade.com>
Mon, 1 Apr 2013 07:48:54 +0000 (11:48 +0400)
commit643cc6aae49bd0b17bf1f9f09f2c88e45fedee89
tree08c67ad1a34d378cc92be04014520f27efa71e4a
parent973191093d0b1f9adf602287a788ff47458139cd
0023799: Crash on copying a label

A check on NULL is added to prevent the crash.
Adding test case for this fix
src/TDF/TDF_CopyLabel.cxx
src/TDF/TDF_Tool.cxx
tests/bugs/caf/bug23799 [new file with mode: 0755]
tests/bugs/moddata_1/bug22623