Changeset 5d2bdaa in mainline


Ignore:
Timestamp:
2025-04-14T11:23:38Z (39 hours ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
b6061f8c, f94a11f
Parents:
0600976
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-14 11:22:34)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-14 11:23:38)
Message:

Fix UB in odict test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/test/adt/odict.c

    r0600976 r5d2bdaa  
    233233
    234234                e->key = v;
    235                 odict_insert(&e->odict, &odict, &ep->odict);
     235                odict_insert(&e->odict, &odict, ep ? &ep->odict : NULL);
    236236                PCUT_ASSERT_ERRNO_VAL(EOK, odict_validate(&odict));
    237237                v = seq_next(v);
Note: See TracChangeset for help on using the changeset viewer.