diff options
| author | Mathias Krause <[email protected]> | 2013-02-05 17:19:14 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2013-02-19 12:27:04 +0000 |
| commit | e336ed9647b06e3bb52995dbc51101cbdf39f2a2 (patch) | |
| tree | 08ad18361dc19e23ad2941dbb595793107245eaa /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | crypto: user - fix info leaks in report API (diff) | |
| download | kernel-e336ed9647b06e3bb52995dbc51101cbdf39f2a2.tar.gz kernel-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 <[email protected]>
Cc: Steffen Klassert <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
