Possible null pointer dereferencing in modules/ca/src/client/udpiiu.cpp
Bug #1862916 reported by
Karl Vestin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Committed
|
Undecided
|
Karl Vestin |
Bug Description
Codacy report an Error level issue on a possible null pointer dereferencing modules/
If the function bool udpiiu:
1) pExt == null
2) extsize > 0
This will cause the memcpy to read extsize bytes from null, presumably crashing the code.
Changed in epics-base: | |
assignee: | nobody → Karl Vestin (karlvestin) |
Changed in epics-base: | |
status: | New → In Progress |
To post a comment you must log in.
Link: https:/ /app.codacy. com/gh/ epics-base/ epics-base/ file/4202265460 1/issues/ source? bid=16430872& fileBranchId= 16430872# l950