Errors in ProcessMessages should not end up in getinfo errors #6809

issue laanwj opened this issue on October 12, 2015
  1. laanwj commented at 8:26 PM on October 12, 2015: member

    It's generally harmless if people send corrupted packets, but having the error appear in "errors" makes it look much more serious:

    "errors" : "EXCEPTION: NSt8ios_base7failureE       \nnon-canonical ReadCompactSize()       \nbitcoin in ProcessMessages()       \n"
    

    This happens due to the use of PrintExceptionContinue in the catch clauses, which set strMiscWarning.

  2. laanwj added the label P2P on Oct 12, 2015
  3. laanwj referenced this in commit 9b63758974 on Nov 27, 2015
  4. laanwj closed this on Nov 27, 2015

  5. daira referenced this in commit f08e31382b on Feb 21, 2020
  6. zkbot referenced this in commit 69e0e7ee62 on Feb 21, 2020
  7. denverbdr referenced this in commit 2c8e5c086f on Mar 6, 2020
  8. MarcoFalke locked this on Sep 8, 2021

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-13 15:15 UTC

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