You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2026/10/04 00:04:07 UTC

(datasketches-cpp) 01/01: Merge pull request #538 from apache/deserialize-validation

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git

commit 412c47efa67e3c5e601bb0db1a97778eaca9c724
Merge: 0a784547 70505c33
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Sat Oct 3 17:04:00 2026 -0700

    Merge pull request #538 from apache/deserialize-validation
    
    Validate header fields and sizes when deserializing CPC, Count-Min, Theta (v4) and VarOpt

 count/include/count_min_impl.hpp                   |  7 ++--
 count/test/count_min_test.cpp                      | 20 ++++++++++++
 cpc/include/cpc_compressor_impl.hpp                | 21 ++++++++----
 cpc/include/cpc_sketch.hpp                         |  1 +
 cpc/include/cpc_sketch_impl.hpp                    | 21 ++++++++++--
 cpc/test/cpc_sketch_test.cpp                       | 35 ++++++++++++++++++++
 sampling/include/var_opt_union_impl.hpp            |  1 +
 sampling/test/var_opt_union_test.cpp               | 12 +++++++
 theta/include/compact_theta_sketch_parser.hpp      |  2 ++
 theta/include/compact_theta_sketch_parser_impl.hpp | 21 ++++++++++--
 theta/include/theta_sketch_impl.hpp                |  2 ++
 theta/test/theta_sketch_test.cpp                   | 38 ++++++++++++++++++++++
 12 files changed, 168 insertions(+), 13 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org