]> granicus.if.org Git - python/commit
Make sure that *really* no more than sizeof(ifr.ifr_name) chars are strcpy-ed to...
authorChristian Heimes <christian@cheimes.de>
Sun, 9 Sep 2012 23:25:50 +0000 (01:25 +0200)
committerChristian Heimes <christian@cheimes.de>
Sun, 9 Sep 2012 23:25:50 +0000 (01:25 +0200)
commit15b6885fe0ac67a23bbf80f90b1854c3bd7db984
tree00f0e607a7680452adc87aec2b3ad3e2bee4a939
parent1b3f3b03164fb4b273dd710899adf11b47480231
Make sure that *really* no more than sizeof(ifr.ifr_name) chars are strcpy-ed to ifr.ifr_name and that the string is *always* NUL terminated. New code shouldn't use strcpy(), too. CID 719692
Modules/socketmodule.c