[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] fix: ensure libdpkg fsys-hash is reset on reuse.



libdpkg consuming a large amount of cache memory, so I would
    release it after use. However, upon re-initializing it for
    the next use, it would crash.

    when libdpkg is reused, its internal hash table's bin array
    (fsys_namenode *bins[BINS]) was not being properly reset.
    This caused fsys_hash_find_node to crash by dereferencing
    stale pointers from a previous operation.

 

zhangya@uniontech.com

Attachment: 0001-fix-ensure-libdpkg-fsys-hash-is-reset-on-reuse.patch
Description: application/mbox


Reply to: