#9551 closed bug (invalid)
Defect CID 991608: Use of uninitialized pointer
Reported by: | kallisti5 | Owned by: | axeld |
---|---|---|---|
Priority: | critical | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | CID991608 | Cc: | |
Blocked By: | #9552 | Blocking: | |
Platform: | All |
Description (last modified by )
http://cgit.haiku-os.org/haiku/tree/src/system/kernel/fs/rootfs.cpp#n379
Line 379, we use vnode which is uninitialized at the time of use.
Change History (4)
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
comment:2 by , 12 years ago
Summary: | Defect: Use of uninitialized pointer → Defect CID 991608: Use of uninitialized pointer |
---|
comment:3 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 12 years ago
Blocked By: | 9552 added |
---|
To add some details to Axel's terse comment: The value of vnode
is not relevant in this case. The used construct is just a replacement for offsetof()
for which gcc would issue a warning. It's very ugly, though. I created #9552 for the best way to solve it.
Note:
See TracTickets
for help on using tickets.
Please don't open bug reports for CIDs, that's a bit exaggerated.