nasa / SBN

38 stars 23 forks source link

SBN_ADDR_SZ in sbn_tbl.h insufficiently sized to fit ipv4 address + port number #20

Closed johnphamngc closed 4 years ago

johnphamngc commented 4 years ago

SBN_ADDR_SZ is sized to be 16, which is insufficient to fit the port number as well in the worst-case for an IPV4 address of XXX.XXX.XXX.XXX:YYYYY which is 21 characters (22 incl null terminator).