Menu

#899 Heap buffer alignment not enforced

17.6.3
closed
None
OSLIB
Low
17.6.2
True
2017-11-05
2017-10-31
No

The function chHeapObjectInit() does not enforce alignment of the passed buffer, the alignment is only checked if CH_DBF_CHECKS is enabled. This can cause hard to debug errors.

The function needs to align the passed pointer and adjust size accordingly.

Discussion

  • Giovanni Di Sirio

    • Fixed in Repository: False --> True
     
  • Giovanni Di Sirio

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB