You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/21 02:13:47 UTC

[GitHub] [incubator-nuttx-apps] ethanlcz opened a new pull request, #1369: usrsock:fix stack-buffer-overflow issue when running basic_send test case

ethanlcz opened a new pull request, #1369:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1369

   The following error was reported when runing usrsocktest with KASAN check enabled.
       ==1348590==ERROR: AddressSanitizer: stack-buffer-overflow on address 0xf20ec610 at pc 0x56ac61ba bp 0xf20ec278 sp 0xf20ec268
   
   rootcause:
   hdrbuf's size is not large enough to store the data in usrsock's request.
   
   solution:
   double herbuf's size to make sure the space, used to store usrsock's request, is enough.
   
   Signed-off-by: liangchaozhong <li...@xiaomi.com>
   Change-Id: I9298d4cc85eedf22ccba03ff1c16b85c51ee5c8e
   
   ## Summary
   
   ## Impact
   
   ## Testing
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] ethanlcz commented on pull request #1369: usrsock:fix stack-buffer-overflow issue when running basic_send test case

Posted by GitBox <gi...@apache.org>.
ethanlcz commented on PR #1369:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1369#issuecomment-1286368480

   @xiaoxiang781216 please help to review, Thx!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] pkarashchenko commented on pull request #1369: usrsock:fix stack-buffer-overflow issue when running basic_send test case

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on PR #1369:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1369#issuecomment-1286573156

   Please remove the TABs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #1369: usrsock:fix stack-buffer-overflow issue when running basic_send test case

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #1369:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1369


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org