Menu

#497 long response crashes raw command

version-1.8.19
open-accepted
nobody
None
3
2018-04-03
2017-11-03
No

I am trying to run a raw command against a BMC that returns ~3kB of data. This crashes ipmitool. Upon inspection of the code, it is clearly a buffer overrun due to the max buffer allocated by raw being 256.

Discussion

  • Vernon Mauery

    Vernon Mauery - 2017-11-03

    Here is a patch that fixes the problem by allowing larger cmd and response buffers for raw.

     
    • Alexander Amelkin

      See my comments to [ipmitool/source/merge-requests/18]

       
  • Alexander Amelkin

    • status: open --> open-accepted
    • Group: version-1.8.18 --> version-1.8.19
     

Log in to post a comment.