Welcome, Guest. Please login or register.

Author Topic: NetSurf 3.6 web browser released!  (Read 19562 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Georg

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 90
    • Show all replies
Re: NetSurf 3.6 web browser released!
« on: November 23, 2016, 08:07:36 AM »
Quote from: Thomas Richter;816736
The next source are graphics Regions and RegionRectangles, unfortunately this is much harder to fix in a conservative backwards-compatible way.


Make graphics.library allocate this stuff in such a way that their addresses are multiple of 2, but not multiple of 4 (ie. address last byte is 0x2, 0x6, 0xA or 0xE). This way it should be possible to detect if it was allocated by itself or by someone evil outside.
 

Offline Georg

  • Jr. Member
  • **
  • Join Date: Feb 2002
  • Posts: 90
    • Show all replies
Re: NetSurf 3.6 web browser released!
« Reply #1 on: November 23, 2016, 08:15:21 AM »
Quote from: Thomas Richter;816737
Of course, programs that handle memory incorrectly (e.g. by writing into memory that has already been released) are likely to cause problems.


For the first 8 bytes of freed memory this is not even save in old memory system, if freed memory region was exactly in front of another allocated memory region, because then it becomes the start of a new "free memory chunk": 8 bytes used as node of free memory list.