Dangerous variable-length array (VLA) declaration in map_generator.cc
Bug #1201330 reported by
Hans Joachim Desserud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Hans Joachim Desserud |
Bug Description
Discovered by scan-build. This is quite new, likely introduced with the changes in r6621.
Looks like an assert(
Related branches
lp:~hjd/widelands/bug1201330
- Widelands Developers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/map_generator.cc (+1/-0)
Changed in widelands: | |
assignee: | nobody → Hans Joachim Desserud (hjd) |
milestone: | none → build18-rc1 |
status: | New → In Progress |
To post a comment you must log in.
The assert is the way to go here. This is a false positive.