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.
Tickets: #922 Wiki: ChangeLog-4.4.1
https://sourceforge.net/p/opensaf/mailman/message/32373348/ https://sourceforge.net/p/opensaf/mailman/message/32373349/
changeset: 5317:e12a2d0afdf7 tag: tip parent: 5315:318581b7f856 user: Lennart Lund lennart.lund@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.lund@ericsson.com date: Mon May 26 13:32:35 2014 +0200 summary: log: Fix thread communication buffer initiation [#922]
rev: cc06765dba2aa92b48f47dbbc7c91a328dffaea6
Tickets: #922
Log in to post a comment.
https://sourceforge.net/p/opensaf/mailman/message/32373348/
https://sourceforge.net/p/opensaf/mailman/message/32373349/
changeset: 5317:e12a2d0afdf7
tag: tip
parent: 5315:318581b7f856
user: Lennart Lund lennart.lund@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.lund@ericsson.com
date: Mon May 26 13:32:35 2014 +0200
summary: log: Fix thread communication buffer initiation [#922]
rev: cc06765dba2aa92b48f47dbbc7c91a328dffaea6
Related
Tickets:
#922