Opened 9 years ago

Closed 8 years ago

#927 closed defect (duplicate)

pydnspp Message.from_wire() needs to catch more exceptions

Reported by: jinmei Owned by: UnAssigned
Priority: medium Milestone: Sprint-20111011
Component: libdns++ Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: High
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 1 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

For example, it fails to catch exceptions from InputBuffer?, e.g. due to
short data (with a long value for some length field). It also needs to
have catch-all catch (catch(...) {}).

Without this our python program could strangely crash from a remote packet
(so I specified 'high' for severity).

Subtickets

Change History (5)

comment:1 Changed 9 years ago by jinmei

  • Owner changed from jinmei to UnAssigned
  • Status changed from new to assigned

comment:2 Changed 8 years ago by shane

  • Milestone changed from New Tasks to Year 3 Task Backlog

comment:3 Changed 8 years ago by jinmei

  • Milestone changed from Year 3 Task Backlog to Next-Sprint-Proposed
  • Summary changed from pydnspp Message.to_wire() needs to catch more exceptions to pydnspp Message.from_wire() needs to catch more exceptions

comment:4 Changed 8 years ago by jelte

  • Estimated Difficulty changed from 0.0 to 1

comment:5 Changed 8 years ago by jinmei

  • Milestone set to Sprint-20111011
  • Resolution set to duplicate
  • Status changed from assigned to closed

This problem was solved as a side effect of #1258. Closing.

Note: See TracTickets for help on using tickets.