Fixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof...