commit | 05a17f1478871be145331d47b6aad66dc4515a28 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Thu Apr 12 10:50:27 2018 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Thu Apr 12 13:48:13 2018 +0930 |
tree | ac0766e37354f61a418e9003e105dca0c7439078 | |
parent | 3c3db6dfb769e3b6d769da31614d652fbf0b3d18 [diff] |
mboxd_msg: Fix overflow in get_suggested_timeout() The suggested timeout is a two-byte unsigned value, but when introducing the debug message it was stored in a one-byte unsigned value. This can lead to overflow under some circumstances. Change-Id: If4f86a8dc812ae27d703a10fb3d21ba3c2541e65 Fixes: 285195987721 ("mboxd: Introduce a new DEBUG log level") Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Copyright 2017 IBM
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This repo contains the protocol definition for the host to BMC mailbox communication specification which can be found in Documentation/mbox_procotol.md.
There is also a reference implementation of a BMC mailbox daemon, the details of which can be found in Documentation/mboxd.md.
Finally there is also an implementation of a mailbox daemon control program, the details of which can be found in Documentation/mboxctl.md.