Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-389

No escaping in sql script in function DBupdate_graph()

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.5
    • 1.4.5
    • None
    • None

    Description

      http://www.zabbix.com/forum/showthread.php?t=10065

      Index: src/libs/zbxdbhigh/host.c
      ===================================================================
      — src/libs/zbxdbhigh/host.c (revision 5827)
      +++ src/libs/zbxdbhigh/host.c (working copy)
      @@ -1214,7 +1214,7 @@
      "yaxistype=%i,yaxismin=%i,yaxismax=%i,templateid=" ZBX_FS_UI64 ","
      "show_work_period=%i,show_triggers=%i,graphtype=%i,"
      "show_legend=%i,show_3d=%i where graphid=" ZBX_FS_UI64,

      • name,width,height,yaxistype,yaxismin,yaxismax,templateid,show_work_period,show_triggers,graphtype,
        + name_esc,width,height,yaxistype,yaxismin,yaxismax,templateid,show_work_period,show_triggers,graphtype,
        show_legend,show_3d,graphid);

      zbx_free(name_esc);

      Attachments

        Activity

          People

            sasha Alexander Vladishev
            sasha Alexander Vladishev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: