diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-08-06 23:37:01 +0200 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-02 12:46:35 -0700 |
| commit | 54902349ee95045b67e2f0c39b75f5418540064b (patch) | |
| tree | b66c43f8fbad2f03762a63cc2c9ef611b07ebdd9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | i40e: remove logically dead code (diff) | |
| download | linux-54902349ee95045b67e2f0c39b75f5418540064b.tar.gz linux-54902349ee95045b67e2f0c39b75f5418540064b.zip | |
i40e: Fix a potential NULL pointer dereference
If 'kzalloc()' fails, a NULL pointer will be dereferenced.
Return an error code (-ENOMEM) instead.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
