[acassen/keepalived] 21c063: Fix some MALLOC/FREE issues with notify FIFOs

pqarmitage <[email protected]> Mon, 08 Jan 2018 07:51:59 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <5a53939f8ac02_482a2ac75c2e1c08958dc@hookshot-fe-d2afb11.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 21c0634449d7d11d2228519e331f164171c3a3d8
      https://github.com/acassen/keepalived/commit/21c0634449d7d11d2228519e331f164171c3a3d8
  Author: Quentin Armitage <[email protected]>
  Date:   2018-01-07 (Sun, 07 Jan 2018)

  Changed paths:
    M keepalived/core/global_data.c
    M keepalived/core/global_parser.c
    M lib/notify.h

  Log Message:
  -----------
  Fix some MALLOC/FREE issues with notify FIFOs

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: c6f0980ad1c4e03d3d5666ecec2bc4ec93e2a669
      https://github.com/acassen/keepalived/commit/c6f0980ad1c4e03d3d5666ecec2bc4ec93e2a669
  Author: Quentin Armitage <[email protected]>
  Date:   2018-01-07 (Sun, 07 Jan 2018)

  Changed paths:
    M keepalived/core/smtp.c

  Log Message:
  -----------
  Add instance_name/config_id to alert emails' subjects if configured

If multiple instances of keepalived are running, either different
instance_names and/or config_ids, it is useful to know which
keepalived instance the email relates to.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: f248406a87b34530791a7ab029191cf25e18cc0f
      https://github.com/acassen/keepalived/commit/f248406a87b34530791a7ab029191cf25e18cc0f
  Author: Quentin Armitage <[email protected]>
  Date:   2018-01-07 (Sun, 07 Jan 2018)

  Changed paths:
    M keepalived/core/smtp.c

  Log Message:
  -----------
  Ensure that email body string isn't unterminated

Using strncpy() needs to ensure that there is a nul termination byte,
so this commits adds always writing a nul byte to the end of the buffer.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: a6c6a38d86dd3ecfe5877adab1b023ee40dcc434
      https://github.com/acassen/keepalived/commit/a6c6a38d86dd3ecfe5877adab1b023ee40dcc434
  Author: Quentin Armitage <[email protected]>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Log Message:
  -----------
  Merge branch 'master' into fixes


  Commit: f40af782bca4a658d96458bfdbe780abcd63abe0
      https://github.com/acassen/keepalived/commit/f40af782bca4a658d96458bfdbe780abcd63abe0
  Author: pqarmitage <[email protected]>
  Date:   2018-01-08 (Mon, 08 Jan 2018)

  Changed paths:
    M keepalived/core/global_data.c
    M keepalived/core/global_parser.c
    M keepalived/core/smtp.c
    M lib/notify.h

  Log Message:
  -----------
  Merge pull request #743 from pqarmitage/fixes

Add instance/config_id to smtp alerts, and a couple of minor fixes


Compare: https://github.com/acassen/keepalived/compare/7bd9c1cdff7f...f40af782bca4

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel