Skip to content

Comments

Memory fix, new feature,...#21

Open
manusfreedom wants to merge 20 commits intochef:mainfrom
manusfreedom:ffi2
Open

Memory fix, new feature,...#21
manusfreedom wants to merge 20 commits intochef:mainfrom
manusfreedom:ffi2

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
@sean-sype-simmons
Copy link

@manusfreedom do you still need this?

@sean-sype-simmons sean-sype-simmons added the Status: Waiting on Contributor A pull request that has unresolved requested actions from the author. label Dec 10, 2024
@manusfreedom
Copy link
Author

@sean-simmons-progress I don't use it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Waiting on Contributor A pull request that has unresolved requested actions from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants