[dovecot/core] 3df608: push-notification plugin: properly terminate strin...

GitHub noreply at github.com
Wed Aug 16 14:30:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 3df60858b15645fbc64ac18842c2545da0439c08
      https://github.com/dovecot/core/commit/3df60858b15645fbc64ac18842c2545da0439c08
  Author: Michael Koch <michael.koch at open-xchange.com>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  push-notification plugin: properly terminate strings

Without this fix, if the new message does not contain a from, a subject, and
a snippet the generated JSON will be malformed (the status check at the end
appended a '"' when it shouldn't have).




More information about the dovecot-cvs mailing list