Menu

#891 LOG: Log server crash if length in SaNameT is 256

4.3.3
fixed
elunlen
None
defect
log
-
4.3
major
2014-08-05
2014-05-08
elunlen
No

When writing a log record with a Ntf header e.g. an alarm log record notificationObject and notifyingObject that is of type SaNameT must be filled in. The API allows that length is set to 256 or smaller but in the server mds decoding it is checked that length is smaller than 256. If thats the case the decoding is ended before the whole message is decoded. This is not handled and will eventually led to a server crash e.g. segv

Related

Tickets: #771
Tickets: #891
Tickets: #892
Wiki: ChangeLog-4.3.3
Wiki: ChangeLog-4.4.1

Discussion

  • elunlen

    elunlen - 2014-06-04
    • Version: --> 4.3
    • Milestone: 4.5.FC --> 4.4.1
     
  • elunlen

    elunlen - 2014-06-23
    • status: accepted --> review
    • Milestone: 4.4.1 --> 4.3.3
     
  • elunlen

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

    elunlen - 2014-08-05

    changeset: 5529:dd763c8fd23e
    tag: tip
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:38:18 2014 +0200
    summary: log: New testcases for testing max length handling of SaNameT [#891]

    rev: dd763c8fd23e6a9d5168874dc6d59901e3a26239

    changeset: 5528:500a8639588d
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:38:16 2014 +0200
    summary: log: Fix server error handling if SaNameT length is 256 or bigger [#891]

    rev: 500a8639588d183aa57542149a4f3e4400d52359

    changeset: 5527:207ed92fe6cf
    parent: 5520:2a95046afae8
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:38:13 2014 +0200
    summary: log: Fix validation of SaNameT length in agent [#891]

    rev: 207ed92fe6cffaee9633d2cdf14ca7bb4ba7f6eb

    changeset: 5526:6bb5e2de4bc8
    branch: opensaf-4.4.x
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:38:18 2014 +0200
    summary: log: New testcases for testing max length handling of SaNameT [#891]

    rev: 6bb5e2de4bc8acc45bfad5b74a8008d676f03c63

    changeset: 5525:a4d70b91946e
    branch: opensaf-4.4.x
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:38:16 2014 +0200
    summary: log: Fix server error handling if SaNameT length is 256 or bigger [#891]

    rev: a4d70b91946ecf912ea23e7a05cf418cc3d3d285

    changeset: 5524:e80131bddb8b
    branch: opensaf-4.4.x
    parent: 5518:27b774dc38c4
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:38:13 2014 +0200
    summary: log: Fix validation of SaNameT length in agent [#891]

    rev: e80131bddb8b38ad722bc7875086dad38624a803

    changeset: 5523:ba51b94fe781
    branch: opensaf-4.3.x
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:14:26 2014 +0200
    summary: log: New testcases for testing max length handling of SaNameT [#891]

    rev: ba51b94fe781aeed2640bb3aba104ee558388d32

    changeset: 5522:cf23adb1d819
    branch: opensaf-4.3.x
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:14:26 2014 +0200
    summary: log: Fix server error handling if SaNameT length is 256 or bigger [#891]

    rev: cf23adb1d819bb32a000ac5060b623ba514f4b19

    changeset: 5521:c1c2cbdcd66e
    branch: opensaf-4.3.x
    parent: 5505:5060feacec63
    user: Lennart Lund lennart.lund@ericsson.com
    date: Tue Aug 05 15:14:26 2014 +0200
    summary: log: Fix validation of SaNameT length in agent [#891]

    rev: c1c2cbdcd66eef607fe014afc6e2c5ed248ec72e

     

    Related

    Tickets: #891


Log in to post a comment.