]> jfr.im git - solanum.git/commit - librb/src/dictionary.c
librb: dictionary_add mishandles replacing elements
authorSimon Arlott <sa.me.uk>
Sun, 6 Aug 2017 17:37:20 +0000 (18:37 +0100)
committerSimon Arlott <sa.me.uk>
Sun, 6 Aug 2017 17:38:35 +0000 (18:38 +0100)
commit1272b289e643b8519307d43b724a1bf0ca4ae228
treec37f08962fbb1ded409de4445fea499fc43e8399
parentf06b5e9c538122c26770667709115ccf933dad51
librb: dictionary_add mishandles replacing elements

This can only happen with soft asserts otherwise it will crash instead.

Nothing currently uses the return value of rb_dictionary_add.
librb/src/dictionary.c