Skip to content

Bug Fixes and Code Quality Improvements #25

@jaredmauch

Description

@jaredmauch
    * Fixed critical return value bug in process_mrtd_table_dump_v2_peer_index_table
      that caused peer index tables to be incorrectly marked as failed
    * Fixed buffer overflow risks in time string formatting and logging functions
    * Fixed integer overflow/underflow risks in AS path processing and message parsing
    * Fixed incorrect memory copy in large community processing (byte offset bug)
    * Fixed memory leak in bgpdump_open_dump when malloc fails
    * Fixed wrong field reference in state change processing
    * Replaced all sprintf calls with snprintf for buffer safety
    * Added size parameters to time2str() and int2str() utility functions
    * Fixed alignment warnings by replacing unsafe pointer casts with memcpy
    * Improved code consistency by using sizeof() for all buffer size checks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions