Home
last modified time | relevance | path

Searched hist:"44106 f34" (Results 1 – 3 of 3) sorted by relevance

/openbmc/bmcweb/http/
H A Dserver_sent_event.hpp44106f34 Sat Apr 06 15:48:50 CDT 2024 Ed Tanous <ed@tanous.net> Fix buffer_copy

boost::asio::buffer_copy returns an integer of the number of values
copied. Some static analysis tools mark that value as nodiscard,
although it should never fail. Audit all uses of buffer_copy, and make
sure that they're using the return value. In theory this should have
no change on the behavior.

Change-Id: I6af39b5347954c2932cf3d4e48e96ff9ae01583a
Signed-off-by: Ed Tanous <ed@tanous.net>
/openbmc/bmcweb/include/
H A Dkvm_websocket.hpp44106f34 Sat Apr 06 15:48:50 CDT 2024 Ed Tanous <ed@tanous.net> Fix buffer_copy

boost::asio::buffer_copy returns an integer of the number of values
copied. Some static analysis tools mark that value as nodiscard,
although it should never fail. Audit all uses of buffer_copy, and make
sure that they're using the return value. In theory this should have
no change on the behavior.

Change-Id: I6af39b5347954c2932cf3d4e48e96ff9ae01583a
Signed-off-by: Ed Tanous <ed@tanous.net>
H A Dvm_websocket.hpp44106f34 Sat Apr 06 15:48:50 CDT 2024 Ed Tanous <ed@tanous.net> Fix buffer_copy

boost::asio::buffer_copy returns an integer of the number of values
copied. Some static analysis tools mark that value as nodiscard,
although it should never fail. Audit all uses of buffer_copy, and make
sure that they're using the return value. In theory this should have
no change on the behavior.

Change-Id: I6af39b5347954c2932cf3d4e48e96ff9ae01583a
Signed-off-by: Ed Tanous <ed@tanous.net>