fuzz: Check for addrv1 compatibility before using addrv1 serializer/deserializer on CService #20289

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:fuzzers-service_deserialize-addrv2 changing 1 files +4 −1
  1. practicalswift commented at 9:50 PM on November 2, 2020: contributor

    Check for addrv1 compatibility before using addrv1 serializer/deserializer on CService:

    Before this patch:

    $ src/test/fuzz/service_deserialize
    service_deserialize: test/fuzz/deserialize.cpp:85:
        void (anonymous namespace)::AssertEqualAfterSerializeDeserialize(const T &, const int) [T = CService]:
        Assertion `Deserialize<T>(Serialize(obj, version)) == obj' failed.
    

    After this patch:

    $ src/test/fuzz/service_deserialize
    …
    

    Related change: #20247

  2. fuzz: Check for addrv1 compatibility before using addrv1 serializer on CService c2cf8a18c2
  3. DrahtBot added the label Tests on Nov 2, 2020
  4. MarcoFalke commented at 8:13 AM on November 3, 2020: member

    review ACK c2cf8a18c25bf19ade51fedfa5c352bd7145edb0

  5. MarcoFalke merged this on Nov 3, 2020
  6. MarcoFalke closed this on Nov 3, 2020

  7. sidhujag referenced this in commit ac6844bafc on Nov 3, 2020
  8. MarcoFalke commented at 1:28 PM on November 9, 2020: member

    Why not fix ./src/test/fuzz/sub_net_deserialize as well?

    sub_net_deserialize: test/fuzz/deserialize.cpp:85: void (anonymous namespace)::AssertEqualAfterSerializeDeserialize(const T &, const int) [T = CSubNet]: Assertion `Deserialize<T>(Serialize(obj, version)) == obj' failed.
    
  9. practicalswift commented at 3:37 PM on November 9, 2020: contributor

    @MarcoFalke Fixed in #20355.

  10. MarcoFalke referenced this in commit 0b69bb90ee on Nov 10, 2020
  11. sidhujag referenced this in commit 929abcfe2d on Nov 10, 2020
  12. practicalswift deleted the branch on Apr 10, 2021
  13. PastaPastaPasta referenced this in commit 0e77bfd548 on Sep 17, 2021
  14. PastaPastaPasta referenced this in commit 95ecc8fb7d on Sep 19, 2021
  15. PastaPastaPasta referenced this in commit 2bf2fa8751 on Sep 21, 2021
  16. PastaPastaPasta referenced this in commit f5be380db7 on Sep 24, 2021
  17. kittywhiskers referenced this in commit 4d09e2cdd6 on Oct 12, 2021
  18. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me