net: udp: Check return value when appending UDP data
If there is timeout when adding UDP data, then check this
condition and bail out by returning NULL as the packet is now
malformed.
Coverity-CID: 187825
Fixes #9636
Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
Loading
Please sign in to comment