InterNetNews / inn

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

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

Open Julien-Elie opened 2 years ago

Julien-Elie commented 2 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.