- **status**: review --> fixed


---

** [tickets:#3075] imm: immdump is crashed**

**Status:** fixed
**Milestone:** 5.19.10
**Created:** Thu Aug 29, 2019 03:17 AM UTC by Vu Minh Nguyen
**Last Updated:** Wed Sep 04, 2019 03:12 AM UTC
**Owner:** Huynh Minh Thien


In the function `cacheRDNs`, there is no check the error code returned by 
saImmOmClassDescriptionGet_2(). If that call returns an error, immtool will 
access an unitialized buffer and crashed. 

Part of the coredump is below:
~~~
Program terminated with signal SIGSEGV, Segmentation fault.
#0  cacheRDNs (selectedClassList=..., immHandle=2439541555471) at 
src/imm/tools/imm_dumper.cc:397
(gdb) bt
#0  cacheRDNs (selectedClassList=..., immHandle=2439541555471) at 
src/imm/tools/imm_dumper.cc:397
#1  main (argc=<optimized out>, argv=<optimized out>) at 
src/imm/tools/imm_dumper.cc:346
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to