Cacti / plugin_reportit

ReportIt Plugin for Cacti
GNU General Public License v2.0
7 stars 9 forks source link

Update runtime.php #95

Closed michaelwingender closed 1 year ago

michaelwingender commented 3 years ago

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.

netniV commented 3 years 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.

TheWitness commented 1 year ago

Closing this as the most recent code is using prepared statements which are more secure.