Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: da93652bbe6b3013f4c29d3628bbddd8c14de337e4040d74f7e61bf4db8f27ac
Ticket: b1c2d07148abc1d84c97b44f0e3d1ef56cf04504
ip::version and ip::mask accepts invalid netmask and other input after /
User & Date: buzzdeee 2019-06-13 11:52:33
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/html"
  4. comment changed to:
    IP version happily accepts and returns invalid netmasks:
    <pre>
    % ::ip::version 10.0.0.1/64
    4
    </pre>
    even worse, basically accepts all sorts of input:
    
    <pre>
    % ip::version 10.0.0.1/dsffds/44
    4
    </pre>
    
    I'm attaching a patch that makes things more strict
    
  5. foundin changed to: "1.19"
  6. is_private changed to: "0"
  7. login: "buzzdeee"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "buzzdeee"
  13. subsystem changed to: "ip"
  14. title changed to:
    ip::version accepts invalid netmask and other input after /
    
  15. type changed to: "Bug"