Opened 15 years ago
Closed 15 years ago
#408 closed defect (fixed)
Fix off-by-one use of invalid fd in FlintLock::lock
Reported by: | Carl Worth | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.17 |
Component: | Backend-Flint | Version: | |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description
This is likely totally harmless, but it was at least making the following warning be emitted by valgrind:
==13151== Warning: invalid file descriptor 1014 in syscall close()
I'll attach a patch that makes that warning go away.
-Carl
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | fix-off-by-one-maxfd.patch added |
---|
comment:1 by , 15 years ago
Component: | Other → Backend-Flint |
---|---|
Milestone: | → 1.0.17 |
Status: | new → assigned |
Applied to trunk (and also fixed for chert) in r13548.
Marking to backport for 1.0.17.
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Backported for 1.0.17 in r13585.
Note:
See TracTickets
for help on using tickets.
Simple patch to fix the bug