Update of bug #68703 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
commit 0bf5a484b56a50166c3a6a360b4d0d7da1e36828
Author: G. Branden Robinson <[email protected]>
Date: Thu Sep 10 06:36:43 2026 -0500
[libbib,indxbib]: Fix Savannah #68703 (1/4).
Fix mismatched memory allocation/deallocation techniques, which risks
undefined behavior (UB) in C++.
* src/libs/libbib/search.cpp: Preprocessor-include C "<stdlib.h>" header
file for `free()` symbol.
(search_list_iterator::~search_list_iterator): Deallocate `query` with
free(3) rather than `delete[]`.
commit 4f6c9b7055702db9e1d7be1afee89e7b93792096
Author: G. Branden Robinson <[email protected]>
Date: Thu Sep 10 06:40:09 2026 -0500
[libbib,indxbib]: Fix Savannah #68703 (2/4).
Fix mismatched memory allocation/deallocation techniques, which risks
undefined behavior (UB) in C++.
* src/libs/libbib/search.cpp (search_item::~search_item): Deallocate
`name` with free(3) rather than `delete[]`.
commit 6837e0dce513cf90b35c94ff806690381e228e92
Author: G. Branden Robinson <[email protected]>
Date: Thu Sep 17 19:07:04 2026 -0500
[libbib,indxbib]: Fix Savannah #68703 (3/4).
Fix mismatched memory allocation/deallocation techniques, which risks
undefined behavior (UB) in C++.
* src/libs/libbib/index.cpp
(index_search_item_iterator::~index_search_item_iterator): Deallocate
`query` with free(3) rather than `delete[]`.
commit 089e7229427aac7bef2dd1fed0b73d161b5b1087
Author: G. Branden Robinson <[email protected]>
Date: Thu Sep 17 18:36:23 2026 -0500
[libbib,indxbib]: Fix Savannah #68703 (4/4).
Fix mismatched memory allocation/deallocation techniques, which risks
undefined behavior (UB) in C++.
* src/utils/indxbib/indxbib.cpp (main): Deallocate local variable `dir`
with free(3) rather than `delete[]`.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68703>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
