[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-cvs
Subject:    [PEAR-CVS] [pear/Crypt_GPG] 016cbb: Fix possible infinite loop
From:       "Aleksander Machniak via pear-cvs" <pear-cvs () lists ! php ! net>
Date:       2021-05-25 13:24:20
Message-ID: pear/Crypt_GPG/push/refs/heads/master/63f54e-016cbb () github ! com
[Download RAW message or body]

  Branch: refs/heads/master
  Home:   https://github.com/pear/Crypt_GPG
  Commit: 016cbbec83ee241cf04dd6838a81f85e01402040
      https://github.com/pear/Crypt_GPG/commit/016cbbec83ee241cf04dd6838a81f85e01402040
  Author: Aleksander Machniak <alec@alec.pl>
  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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic