Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 22 May 2011 16:55:55 +0200
From: Szabolcs Nagy <>
Subject: linux/sbrk is wrong

linux brk syscall returns the end pointer
so if it fails then the old one
if it succeeds then the new one

the current implementation of sbrk returns
the end of the allocated area instead of
the begining

i attached a patch that fixes brk and sbrk

View attachment "sbrk.diff" of type "text/x-diff" (648 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.