User Activity

  • Modified a comment on ticket #80 on BACnet Protocol Stack

    After double checking this one, it looks like I mistakenly thought decode_unsigned16 returned the decoded value, but it actually returns the number of bytes consumed. I'm going to leave this one open since I am worried about there being some hidden arithmetic overflows, but wanted to provide some updated thoughts. I'll do another pass and update the ticket this week.

  • Posted a comment on ticket #80 on BACnet Protocol Stack

    After double checking this one, it looks like I mistakenly thought decode_unsigned16 returned the decoded value, but it actually returns the number of bytes consumed. I'm going to leave this one open since I am worried about there being some hidden arithmetic overflows, but wanted to provide some updated thoughts.

  • Created ticket #81 on BACnet Protocol Stack

    Multiple out-of-bounds accesses in bacerror code paths

  • Modified a comment on ticket #80 on BACnet Protocol Stack

    Another caveat of this function that I'm sure you're aware of: the length value is MAX_NPDU when called through npdu_decode (such as in router-mstp). int npdu_decode(uint8_t *npdu, BACNET_ADDRESS *dest, BACNET_ADDRESS *src, BACNET_NPDU_DATA *npdu_data) { return bacnet_npdu_decode(npdu, MAX_NPDU, dest, src, npdu_data); } I'm assuming this is for compatibility, but wanted to point out the unsafe code path.

  • Posted a comment on ticket #80 on BACnet Protocol Stack

    Another caveat of this function that I'm sure you're aware of: the length value is MAX_NPDU when called through npdu_decode (such as in router-mstp). int npdu_decode(uint8_t *npdu, BACNET_ADDRESS *dest, BACNET_ADDRESS *src, BACNET_NPDU_DATA *npdu_data) { return bacnet_npdu_decode(npdu, MAX_NPDU, dest, src, npdu_data); } I'm assuming this is for compatibility, but wanted to point out the unsafe code path.

  • Created ticket #80 on BACnet Protocol Stack

    Out of bounds accesses in bacnet_npdu_decode

  • Posted a comment on ticket #79 on BACnet Protocol Stack

    This was meant to be placed in v1.1.1 !

  • Created ticket #79 on BACnet Protocol Stack

    Out of bounds jump in h_apdu.c:apdu_handler

View All

Personal Data

Username:
anthony-cpeak
Joined:
2023-07-09 23:29:52.901000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB