Newsgroups: comp.os.plan9
From: r...@swtch.com (Russ Cox)
Date: Tue, 4 Mar 2008 04:44:01 GMT
Local: Mon, Mar 3 2008 11:44 pm
Subject: Re: [9fans] plan9port build failure on Linux (debian)
We tracked this down off-list.
Given these types: char *buf; gcc-4.2 assumes that buf+len >= buf. The test for wraparound when computing len in sprint looks like: len = 1<<30; /* big number, but sprint is deprecated anyway */ gcc-4.2 compiles this away. Adding some uintptr casts Because David is running 32-bit code on a 64-bit kernel, It would not surprise me if there are some exploitable Russ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||