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

Memory fix, new feature,... #21

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Conversation

manusfreedom
Copy link

No description provided.

Very useful to get the last event log.
Needed in new input logstash plugin.
If treat mass eventlog, memoryleak visible.
Remove registry FFI call and use win32/registry ti fix memory leak.
Some optimization on memory usage and buffer (I think we don't need to reset/renew pointer, because it is a pointer).
Better file description management: ignore empty file path
Remove null byte in file path (some registry have bad entry)
Fix miss variable in param_exe FormatMessage
Fix buf is not a string in param_exe FormatMessage
Fix bad parsing to build max_insert (can be memory leak in some case)
Add EventLog binary data support
Add missing registry close key
Add constants
Fix possible error during FreeLibrary(hmodule)
Fix previous commit misplaced memory free
Use win32/registry when add event
Better use of win32/registry when get event description
Dirty hack to access remote registry using Win32::Registry
…work for GC)

Use correct variable (local instead of direct FFI constants)
Fix null detection (possible NPE)
Username now include domain name
Fix string encoding for description and insertstring
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

Successfully merging this pull request may close these issues.

2 participants