Message78055
| Author |
saa |
| Recipients |
loewis, saa |
| Date |
2008年12月19日.08:31:30 |
| SpamBayes Score |
0.0012739438 |
| Marked as misclassified |
No |
| Message-id |
<1229675493.61.0.0182548074843.issue4681@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
There are bigger problems here. When the code calculates the size to map
if size is passed as zero, it simply assigns the 64-bit st_size to the
size to mmap. On a 32-bit system, it is obvious that the amount to map
must be less than a 32-bit value. The calculation should take into
account at least the following two things: 1) it should be the size of the
file minus the offset, and 2) it shouldn't ask for an unreasonable amount
of memory. I will experiment with this and submit a new patch (and delete
the two I've already uploaded) within a couple of days, or at a minimum,
provide an update to this bug. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年12月19日 08:31:33 | saa | set | recipients:
+ saa, loewis |
| 2008年12月19日 08:31:33 | saa | set | messageid: <1229675493.61.0.0182548074843.issue4681@psf.upfronthosting.co.za> |
| 2008年12月19日 08:31:32 | saa | link | issue4681 messages |
| 2008年12月19日 08:31:31 | saa | create |
|