VirtualBox

Opened 9 years ago

Closed 9 years ago

#15519 closed defect (duplicate)

vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/Socket.c: bad comparison ?

Reported by: dcb Owned by:
Component: other Version: VirtualBox 5.0.22
Keywords: Cc:
Guest type: other Host type: other

Description

vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/Socket.c:5527]: (style) A pointer can not be negative so it is either pointless or an error to check if it is.

Source code is

&& ( 0 > pDataLength )

but

OUT size_t * pDataLength,

Change History (1)

comment:1 by Frank Mehnert, 9 years ago

Resolution: duplicate
Status: newclosed

Sorry, same reason as #15516.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette