What is happenibng to INN dailies?
the last one happened on 20260804.
I have just committed a fix:
- if (sb.st_size < 0 || sb.st_size > UINT_MAX) {
+ if (sb.st_size < 0 || (unsigned int) sb.st_size > UINT_MAX) {
The snapshots should be generated tomorrow.
- if (sb.st_size < 0 || sb.st_size > UINT_MAX) {
+ if (sb.st_size < 0 || (unsigned int) sb.st_size > UINT_MAX) {
This is a weird check and I don't entirely understand the point of it
sb.st_size is off_t which can be longer than unsigned int (and I think
*can* even be larger than unsigned long since it could be a signed long long), so doing the cast that way risks overflow and a false negative on
the comparison, I think. Instead, I think you want:
if (sb.st_size < 0 || sb.st_size > (off_t) UINT_MAX) {
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 59:40:43 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 286,017 |