]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libsframe: fix error code in sframe_decode
authorIndu Bhagat <indu.bhagat@oracle.com>
Sun, 6 Jul 2025 02:02:24 +0000 (19:02 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Sun, 6 Jul 2025 02:11:15 +0000 (19:11 -0700)
commit87f5e2edca1412326ae40489e2780821093481cb
tree074e86e335ba44c901bc2396f24b9a789d7b58d5
parentc8d7be63fa3a8d6e80cf199e7faf40e2c5e25c6f
libsframe: fix error code in sframe_decode

When sanity check of SFrame header fails, set error code to
SFRAME_ERR_BUF_INVAL instead of the current SFRAME_ERR_NOMEM.
libsframe/sframe.c