commit 586579ba335777357db7ea5ecbbefa3babb2fc0d (HEAD -> develop,
origin/develop)
Author: thien.m.huynh <[email protected]>
Date: Tue Sep 3 10:59:10 2019 +0700
imm: Check error code before access to buffer V2 [#3075]
---
** [tickets:#3075] imm: immdump is crashed**
**Status:** review
**Milestone:** 5.19.10
**Created:** Thu Aug 29, 2019 03:17 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Sep 03, 2019 07:24 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 [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets