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

2019-09-03 Thread Huynh Minh Thien via Opensaf-tickets
- **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=, argv=) 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


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

2019-09-03 Thread Huynh Minh Thien via Opensaf-tickets
commit 586579ba335777357db7ea5ecbbefa3babb2fc0d (HEAD -> develop, 
origin/develop)
Author: thien.m.huynh 
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=, argv=) 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


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

2019-09-03 Thread Huynh Minh Thien via Opensaf-tickets
- **status**: accepted --> review



---

** [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:** Fri Aug 30, 2019 02:41 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=, argv=) 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


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

2019-08-29 Thread Huynh Minh Thien via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Huynh Minh Thien



---

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

**Status:** accepted
**Milestone:** 5.19.10
**Created:** Thu Aug 29, 2019 03:17 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Aug 29, 2019 03:17 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=, argv=) 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


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

2019-08-28 Thread Vu Minh Nguyen via Opensaf-tickets



---

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

**Status:** unassigned
**Milestone:** 5.19.10
**Created:** Thu Aug 29, 2019 03:17 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu Aug 29, 2019 03:17 AM UTC
**Owner:** nobody


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=, argv=) 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