diff options
author | Alex Richardson <arichardson.kde@gmail.com> | 2015-01-21 09:10:01 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2015-01-28 16:13:22 +0000 |
commit | cf6e97119df5bf17b4a952b257d05d43b7d6ca26 (patch) | |
tree | 7a86c279f3b8a15f0d924b91a57d99a87b07b59f /tests/auto/quick/nodes | |
parent | fea8c9026def98748f700e33e9fb41249be2b3f2 (diff) |
Don't crash on FreeBSD when computing stack limits
On FreeBSD pthread_attr_t is a pointer and is dereferenced when calling
pthread_attr_get_np() so if we don't initialize it will probably crash.
This is not a problem on glibc systems since there pthread_attr_t is an
opaque union an doesn't need to be allocated using malloc().
Change-Id: I227685ddf9981974ade08aee8917f7262c301787
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/quick/nodes')
0 files changed, 0 insertions, 0 deletions