Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crtl_file_open: ERROR :unable to seek end of output file <Success> #8

Open
SimonLammer opened this issue Dec 10, 2023 · 1 comment
Open
Assignees

Comments

@SimonLammer
Copy link

SimonLammer commented Dec 10, 2023

$ echo "test" | curtail -s 4G file.log -v
crtl_cmdline_args: log level <DEBUG>
crtl_cmdline_args: output file size <4294967296>
crtl_cmdline_args: output file path <file.log>
main: Starting process ver 1.0
crtl_signals_register: Registering SIGINT...
crtl_signals_register: Registering SIGTERM...
crtl_signals_register: Registering SIGQUIT...
crtl_file_open: ERROR :unable to seek end of output file <Success>
crtl_main_init: ERROR :unable to open output file
crtl_main_term: fd -1
main: return

This seems to be caused by an integer overflow.

@dwolaver
Copy link
Member

Thanks for reporting this, Simon. I posted a change that should address the issue. Best regards.

@dwolaver dwolaver self-assigned this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants