mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
These tests create a linked list with one entry for every group on the running system. On a system with about 30,000 groups, the test took 69 seconds to run, and crashed Kyua with the below error: kyua: E: string or blob too big (sqlite op: sqlite3_bind_blob) (sqlite db: /root/.kyua/store/results.usr_tests.20241231-203317-570235.db). Fix the test by limiting it to operating on the first 1024 groups. Apply the same change to getpw_test and getserv_test too, which are vulnerable to the same problem. Sponsored by: ConnectWise Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D48275 (cherry picked from commit d11904b350214943dedb64c7121d4602799d7afd) |
||
|---|---|---|
| .. | ||
| getaddrinfo_test.c | ||
| getgr_test.c | ||
| gethostby_test.c | ||
| getproto_test.c | ||
| getpw_test.c | ||
| getrpc_test.c | ||
| getserv_test.c | ||
| getusershell_test.c | ||
| Makefile | ||
| Makefile.depend | ||
| testutil.h | ||