InterNetNews / inn

INN (InterNetNews) Usenet server
https://www.isc.org/othersoftware/#INN
Other
72 stars 13 forks source link

Add buffer size to Perl and Python authentication functions in nnrpd #210

Open Julien-Elie opened 3 years ago

Julien-Elie commented 3 years ago

nnrpd/perl.c and nnrpd/python.c store information in buffers without knowing their sizes. The functions called by nnrpd/commands.c (and maybe by other files) need passing the buffer size, instead of having it hard-coded at several places, hoping they keep being the same. For instance errorstr in CMDauthinfo, of BIG_BUFFER size.