diff options
author | Tomas Bortoli <[email protected]> | 2018-07-10 00:29:43 +0200 |
---|---|---|
committer | Dominique Martinet <[email protected]> | 2018-08-13 09:21:44 +0900 |
commit | 7913690dcc5e18e235769fd87c34143072f5dbea (patch) | |
tree | f48b46840031b3727b7594be4f83150581a3e802 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6baaac096179e7f49b7c3d1bc7785d7cd88215ee (diff) |
net/9p/client.c: version pointer uninitialized
The p9_client_version() does not initialize the version pointer. If the
call to p9pdu_readf() returns an error and version has not been allocated
in p9pdu_readf(), then the program will jump to the "error" label and will
try to free the version pointer. If version is not initialized, free()
will be called with uninitialized, garbage data and will provoke a crash.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tomas Bortoli <[email protected]>
Reported-by: [email protected]
Reviewed-by: Jun Piao <[email protected]>
Reviewed-by: Yiwen Jiang <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Cc: Ron Minnich <[email protected]>
Cc: Latchesar Ionkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: [email protected]
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions