diff options
author | 2013-02-05 18:19:14 +0100 | |
---|---|---|
committer | 2013-02-19 20:27:04 +0800 | |
commit | e336ed9647b06e3bb52995dbc51101cbdf39f2a2 (patch) | |
tree | 08ad18361dc19e23ad2941dbb595793107245eaa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: user - fix info leaks in report API (diff) | |
download | linux-dev-e336ed9647b06e3bb52995dbc51101cbdf39f2a2.tar.xz linux-dev-e336ed9647b06e3bb52995dbc51101cbdf39f2a2.zip |
crypto: user - fix empty string test in report API
The current test for empty strings fails because it is testing the
address of a field, not a pointer. So the test will always be true.
Test the first character in the string to not be null instead.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions