Menu

#922 LOG: Missing initiation of out buffer and buffer pointers

4.4.1
fixed
elunlen
None
defect
log
-
major
2014-05-26
2014-05-21
elunlen
No

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.

Related

Tickets: #922
Wiki: ChangeLog-4.4.1

Discussion

  • elunlen

    elunlen - 2014-05-22
    • status: assigned --> accepted
     
  • elunlen

    elunlen - 2014-05-23
    • status: accepted --> review
     
  • elunlen

    elunlen - 2014-05-26
    • status: review --> fixed
     
  • elunlen

    elunlen - 2014-05-26

    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


Log in to post a comment.