dj(1)
segfaults if trying to skip in stdout
#112
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
`dj(1)` segfaults if trying to seek into stdoutto `dj(1)` segfaults if trying to skip in stdoutThis is definitely happening in
Io_fdseek
. I currently don't have a programming environment but when I have one set up I'll debug and fix.@trinity this issue is still not fixed in main.
I was gonna get to it in the dj refactor but wanted the API (options) changes in as soon as possible as that change was potentially breaking. One of the reasons for the refactor was to make this bug easier to spot. Obviously no stability is expected in our alpha phase but I wanna iron out all the big things sooner rather than later.
Looking at the main tree as I'm not at my computer, I don't see any possibility of segfault other than a buffer overflow in
Io_fdseek
. That should be straightforward to solve (perhaps it's an off-by-one?).