To understand the increase in size of buffer in agentx_parse() in net-snmp-5.8

"Vijay, Anjali" <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CS1PR8401MB11124FB878689DD8A8947E2CEF3D0@CS1PR8401MB1112.NAMPRD84.PROD.OUTLOOK.COM>
Hi,

I recently started working with net-snmp-5.8. I had a query over a change that was made to agentx_parse() in agent/mibgroup/agentx/protocol.c. I noticed that the buffer of  SNMP_MAX_MSG_SIZE (1472) in net-snmp-5.7.3 has been replaced with the size 65536 in net-snmp-5.8.

u_char buffer[65536];

I didn't find any clarification in the ChangeLogs for this large increase of size. Can this size be reduced? It would be of great help if anyone can clear me out on this since my application has memory constraints.

Thanks,
Anjali S. Vijay

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.