linux-4.2-rc6/fs/afs/server.c:210:Possible null pointer dereference

David Binderman dcb314 at hotmail.com
Sun Aug 9 21:39:05 PDT 2015


Hello there David,

[linux-4.2-rc6/fs/afs/server.c:210]: (error) Possible null pointer dereference: server

Source code is

    server = NULL;
found:
    read_unlock(&afs_servers_lock);
    ASSERTIFCMP(server, server->addr.s_addr, ==, addr.s_addr);

Suggest code rework.

Regards

David Binderman

 		 	   		  


More information about the linux-afs mailing list