Someone help.. Both Theo and I can't reach our epi-pens....
On Sun, Dec 6, 2015 at 6:54 PM, Theo de Raadt <dera...@cvs.openbsd.org> wrote: >> Since I don't think your name is Steve, you're going to touch that, >> please get rid of the PORT_MAX_LEN/calloc/snprintf dance and just use >> asprintf() instead so I don't need more therapy reading it.. (look at >> my eye twitching...) > > The part I find most incredible in the code is... > > ntohs(atoi(portlist[i])), > > and then digging deeper... to see how the portname (as a string) > is passed down to socks... and reversed into an integer... > > AGhh... I just went blind.