[pear/Crypt_GPG] 016cbb: Fix possible infinite loop

"Aleksander Machniak via pear-cvs" <[email protected]>
Newsgroups gmane.comp.php.cvs.pear
Message-ID <pear/Crypt_GPG/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pear/Crypt_GPG
  Commit: 016cbbec83ee241cf04dd6838a81f85e01402040
      https://github.com/pear/Crypt_GPG/commit/016cbbec83ee241cf04dd6838a81f85e01402040
  Author: Aleksander Machniak <[email protected]>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M Crypt/GPG/Engine.php

  Log Message:
  -----------
  Fix possible infinite loop

fwrite() can return false, we need to treat false as an error condition, same as we do with zero.

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.