Ignore:
Timestamp:
Feb 16, 2018, 2:02:37 PM (2 years ago)
Author:
mabarracus
Message:

Add partial whitelist implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics/db.php

    r6819 r6850  
    154154                    $mem=(int)$mem;
    155155                }
    156                 $vga = $specs['vga'];
    157                 $cpu = $specs['cpu']['model'];
     156                $vga = substr($specs['vga'],0,80);
     157                $cpu = substr($specs['cpu']['model'],0,80);
    158158                $ncpu = $specs['cpu']['ncpus'];
    159159                if (is_numeric($ncpu)){
     
    187187        if ($retry == 4 or $cli_id == false)
    188188            throw new Exception('Error sending client data: '.$this->dbconn->error);
    189 
    190189        $err_apps=false;
    191190        $err_exception=false;
Note: See TracChangeset for help on using the changeset viewer.