https://source.android.com/security/bulletin/2018-04-01
CVE-2017-16534
CVE-2017-13293
CVE-2017-5754
CVE-2017-13305
CVE-2017-17449
CVE-2017-13307
CVE-2017-17712
CVE-2017-15115
ANDROID: xt_qtaguid: Remove unnecessary null checks to device's name

'name' will never be NULL since it isn't a plain pointer but an array
of char values.

../net/netfilter/xt_qtaguid.c:1195:27: warning: address of array
'(*el_dev)->name' will always evaluate to 'true'
[-Wpointer-bool-conversion]
        if (unlikely(!(*el_dev)->name)) {
                     ~~~~~~~~~~~~^~~~

Change-Id: If3b25f17829b43e8a639193fb9cd04ae45947200
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
1 file changed