BIND 10 master, updated. 357c297f73a57539c9b90f7f80c4bebbdf2f8db8 [master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Dec 19 22:27:08 UTC 2012


The branch, master has been updated
       via  357c297f73a57539c9b90f7f80c4bebbdf2f8db8 (commit)
       via  d8a4ee26573da0832ad2efc424e6c9db9760fb85 (commit)
      from  c661badf19c5e9593d8c4ba719b86cd96b85f787 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 357c297f73a57539c9b90f7f80c4bebbdf2f8db8
Merge: d8a4ee2 c661bad
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Dec 19 14:27:05 2012 -0800

    [master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10

commit d8a4ee26573da0832ad2efc424e6c9db9760fb85
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Dec 19 14:24:22 2012 -0800

    [master] make the use of isspace() more portable regarding signedness of char
    
    the old code seems to be rejected in an ARM environment
    
    okayed on jabber.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/util/encode/base_n.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/util/encode/base_n.cc b/src/lib/util/encode/base_n.cc
index 0026a0b..c38f901 100644
--- a/src/lib/util/encode/base_n.cc
+++ b/src/lib/util/encode/base_n.cc
@@ -291,7 +291,8 @@ BaseNTransformer<BitsPerChunk, BaseZeroCode, Encoder, Decoder>::decode(
                 isc_throw(BadValue, "Too many " << algorithm
                           << " padding characters: " << input);
             }
-        } else if (ch < 0 || !isspace(ch)) {
+        } else if (!(ch > 0 && isspace(ch))) {
+            // see the note for DecodeNormalizer::skipSpaces() above for ch > 0
             break;
         }
         ++srit;



More information about the bind10-changes mailing list