• Stefy Lanza (nextime / spora )'s avatar
    Fix hex decoding and data handling issues in tunnel.c · 8ed44cda
    Stefy Lanza (nextime / spora ) authored
    - Improved handle_tunnel_data() with better hex validation and decoding
    - Added bounds checking for hex data length validation
    - Enhanced error handling for hex decoding failures
    - Added debug logging for hex decoding issues
    - Improved socket send error handling with detailed error messages
    - Added bounds checking for hex encoding in forwarding functions
    - Fixed potential buffer overflow issues with large hex data
    - Enhanced robustness for handling large SSH protocol packets
    8ed44cda
tunnel.c 26.6 KB