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

changeset:   5317:e12a2d0afdf7
tag:         tip
parent:      5315:318581b7f856
user:        Lennart Lund <lennart.l...@ericsson.com>
date:        Mon May 26 13:32:35 2014 +0200
summary:     log: Fix thread communication buffer initiation [#922]

rev: e12a2d0afdf75ac75f42e37864453633ce0f911f

changeset:   5316:cc06765dba2a
branch:      opensaf-4.4.x
parent:      5314:eda8ad420ea7
user:        Lennart Lund <lennart.l...@ericsson.com>
date:        Mon May 26 13:32:35 2014 +0200
summary:     log: Fix thread communication buffer initiation [#922]

rev: cc06765dba2aa92b48f47dbbc7c91a328dffaea6




---

** [tickets:#922] LOG: Missing initiation of out buffer and buffer pointers**

**Status:** fixed
**Milestone:** 4.4.1
**Created:** Wed May 21, 2014 01:21 PM UTC by elunlen
**Last Updated:** Fri May 23, 2014 02:01 PM UTC
**Owner:** elunlen

In lgs_file.c / log_file_api(), the buffer pointers in lgs_com_data shall be 
initiated with NULL after free in order to not risk that a not valid pointer is 
freed.
The out buffer should be initiated to 0 after allocation.


---

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.
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to