Closed michaelwingender closed 1 year ago
I haven't examined the full code around this, but it should really be using parameterised queries as that would correctly fix things securely.
Closing this as the most recent code is using prepared statements which are more secure.
snmp_index can contain something like 116.101.45.99.114.109.104.97.109.49.49.45.99.114.109.98.105.101.49.50.45.50.0.0.0.0.0.0.0.0.0.0 which will result in an error.