Dereference of null pointer in network/nethost.cc

Bug #1198919 reported by Hans Joachim Desserud
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Invalid
Undecided
Unassigned

Bug Description

Found by scan-build (llvm 3.3) in r6594.

Tags: network
Revision history for this message
Hans Joachim Desserud (hjd) wrote :
Revision history for this message
Nasenbaer (nasenbaer) wrote :

Definitively a false positive:
it assumes g_fs->IsDirectory(mapfilename) is true (first) as well as false (second), although mapfilename was not changed inbetween. Maybe scan-build thinks Widelands is multithreaded where other branches might change one of the variables?

Changed in widelands:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.