Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/rizinorg/sdb

Simple string-based Key/Value database
https://github.com/rizinorg/sdb

Add fuzzsuite

d6da2293e3522f86746de26d12f8349c517d62d9 authored over 7 years ago by pancake <[email protected]>
Fix #133 comments

1341c347480704981acba7597617cf418da1e058 authored over 7 years ago by pancake <[email protected]>
Add fixes for pull request

dbd3cd291d663e3588fd9402094ee8b39c446460 authored over 7 years ago by Elia Geretto <[email protected]>
Always update len after an allocation of buf in sdb_querys

adfd57c72e38fee79321f458ef0f022d905ce46c authored over 7 years ago by Elia Geretto <[email protected]>
Fix negative-index access to array in sdb_json_set

e8fd3e70004b1e01bd00811e85c9a39136e8cfb4 authored over 7 years ago by Elia Geretto <[email protected]>
Fix segmentation fault in sdb_querys

46331f26cadf734082ef6ac64ed9eed11919d5d9 authored over 7 years ago by Elia Geretto <[email protected]>
Fix regression introduced in 35d9c85

b3d4a70a816672139ce21b23f7d0fa4f9cc22368 authored over 7 years ago by Elia Geretto <[email protected]>
Fix array access with negative index in json_find

dca9679ce97bb3aace787095779fe1067ed37889 authored over 7 years ago by Elia Geretto <[email protected]>
Fix NULL-pointer dereference in sdb_querys

a84e086ab4a9461dd50bb14f7eaf056f4985c671 authored over 7 years ago by Elia Geretto <[email protected]>
Fix out-of-bounds write in sdb_array_sort_num

639a886762dfaed251132dce91ea9425a4c2fc57 authored over 7 years ago by Elia Geretto <[email protected]>
Calculate properly allocation size in sdb_json_indent

72a36ff335b0a814a9798e7e7a270ecfaa8ec8de authored over 7 years ago by Elia Geretto <[email protected]>
Fix use-after-free in sdb_querys

a1397534ab85a81af663b8fd22d4b681fd49efc0 authored over 7 years ago by Elia Geretto <[email protected]>
Avoid possible malloc with integer-overflown size

3f18b14bf4718e59e19e19c6b974806a238e9d7e authored over 7 years ago by Elia Geretto <[email protected]>
Avoid free on a pointer to the stack in sdb_querys

491542b8185dcf474659b702b7c95a5b572f1d46 authored over 7 years ago by Elia Geretto <[email protected]>
Prevent NULL-pointer dereference handling non-existent key in sdb_querys

606ce00731284eed3f17d005213a995855778061 authored over 7 years ago by Elia Geretto <[email protected]>
Prevent the use of uninitialized memory in json_find

be337815d756f6ba6015cc046017927b9b46080b authored over 7 years ago by Elia Geretto <[email protected]>
Fix out-of-bounds write in sdb_querys

ee9b867fb2a23346ad81b15f6cf76ff8ab362a4a authored over 7 years ago by Elia Geretto <[email protected]>
Fix JSON key deletion

9839a8cda431e1da04cd8e389e2f97cac9fc126b authored over 7 years ago by Elia Geretto <[email protected]>
Fix out-of-bounds write in sdb_json_set

cd367bc050528bb03b859480cd535b0f2ec67cd3 authored over 7 years ago by Elia Geretto <[email protected]>
Fix out-of-bounds read in sdb_json_set

c89f376ef0851dac62071a815a68cc6fa4875b24 authored over 7 years ago by Elia Geretto <[email protected]>
Fix incorrect buffer dimension calculation in sdb_json_set

3cf9778eaec4e9f0ab912a5cb7a7101f27678cd1 authored over 7 years ago by Elia Geretto <[email protected]>
Harden rangstr_int and rangstr_find against empty Rangstr

96cb4429a8203406ffac0de203e8b0e28c377cd6 authored over 7 years ago by Elia Geretto <[email protected]>
Fix out-of-bounds write in stdin_slurp

0c2b3fab423f0d64adf23a3dbf39a8acf81c1302 authored over 7 years ago by Elia Geretto <[email protected]>
Fix garbage read

04c8168636201ae34f717a76ae1de1de5763d898 authored over 7 years ago by pancake <[email protected]>
Check for null in sdb_fmt_tostr

8240d3aa084bac4773ff1274b844dc7d6c0b7ddc authored over 7 years ago by pancake <[email protected]>
memcpy -> memmove

ead80bf2e7f9fba3d020b0b42876b787dc3dcae1 authored over 7 years ago by pancake <[email protected]>
Update copyright date

1bdeb342d80f51e909187cefe49b884143d74981 authored over 7 years ago by pancake <[email protected]>
Fix null dereference and UaF

5a3001f1e4ed00c8dd71cfed7418ec999e8362a5 authored over 7 years ago by alvarofe <[email protected]>
Fix null dereference

e24f06002d15209f561d0d3234250a177613e872 authored over 7 years ago by alvarofe <[email protected]>
Remove r_list_del_n leftover

15dd549fab8b3a33e9e4ceb30410dd081ad6c116 authored over 7 years ago by alvarofe <[email protected]>
Lower to 500000 elements to sort

721d40b7227a902f38dca4798348fcb348d35916 authored over 7 years ago by alvarofe <[email protected]>
Improve ls sort and added more unit test

b545d91598e54db5fbb0083c5ee89379963e9cbd authored over 7 years ago by alvarofe <[email protected]>
Sdb unit test for sorting big lists

156e5f8cfd7b165bd8d10efb508df65147d2de8d authored over 7 years ago by Gauvain Roussel-Tarbouriech <[email protected]>
Minor refactor in ls.c

f318033e3770dae82b5e59befdf03b9306a5064a authored over 7 years ago by alvarofe <[email protected]>
Indent json/indent.c

728b8a1fbbc5215195dfd739972daf021ff13123 authored over 7 years ago by alvarofe <[email protected]>
Added custom tab to json_indent function (#129)

f17b80b8d39aee601611980c6bb3b074e07402f8 authored over 7 years ago by xarkes <[email protected]>
Check for null dereferences

c1ef7571690f2463eaf60680e54bd52ddb223731 authored over 7 years ago by alvarofe <[email protected]>
Check for some NULL dereferences

f2eb47e64dd2915a8771006ab1f0fc495b01392d authored over 7 years ago by alvarofe <[email protected]>
Remove double #define WLEN

d1bd39820f37eead104dad8291149cea0d7c9287 authored over 7 years ago by alvarofe <[email protected]>
Update ls_new API

In radare source coude there was a bad usage of ls_* because of this

001edf3194a4940963e2adc5d3fec65c3c26618d authored over 7 years ago by alvarofe <[email protected]>
Fixed warns on windows (#128)

de383d4b5e05eaa56d0b5d9f9bdf8f8bd8eae70b authored over 7 years ago by Giovanni <[email protected]>
Some r2-indent

af43352ba6d11b63301e40d9d29c8e678581e7cf authored over 7 years ago by pancake <[email protected]>
Change the return value of HtForeachCallback to bool

2ebd41f7e247e0413b68c89163bfc23a6504e1e9 authored over 7 years ago by alvarofe <[email protected]>
Revert some changes

4d884539c2e26e011ed53a913374b4750c41b886 authored over 7 years ago by alvarofe <[email protected]>
Fix mem leak in test_hash

a0ae5997a09a0bf05638ebb1540193859a5a3769 authored over 7 years ago by alvarofe <[email protected]>
Added new ht api

3b7052e646fff67d4e8836875044beeddeaa0183 authored over 7 years ago by alvarofe <[email protected]>
Do not use calsizeV if is not set

eb5f8f236afdbde921b7b4b38cce76cc083176bf authored over 7 years ago by alvarofe <[email protected]>
Fix NULL dereference

5512b1394e9c6359170c0eda9f84a5f150b3a0f5 authored over 7 years ago by alvarofe <[email protected]>
Use (void) instead of ()

2c48a1b3d3feadf0c036dd06cc3bdaa1435fd793 authored over 7 years ago by pancake <[email protected]>
Avoid some NULL dereferences

8e7f96c097d3fc46a397505244677f748d7d2a06 authored over 7 years ago by alvarofe <[email protected]>
Added boundary to merge sort to avoid stack exhaustion

57cf113559e58550ddb9e0f6544a717750bfdede authored over 7 years ago by Álvaro Felipe Melchor <[email protected]>
simplify api in ht

as long as the key by now will be a string we can have defaults

df4a0c237187a9348cea8c4095bdf29ee6df72cc authored over 7 years ago by Álvaro Felipe Melchor <[email protected]>
Always use strcmp as ht->cmp

They keys by now will be strings

25af1e386828545a728222d9cd47377a7c0ff49a authored over 7 years ago by Álvaro Felipe Melchor <[email protected]>
Assign value when dupvalue is set to NULL

There is a requirement in r2 when using the hash table with structures
and is that duplicating a...

8b58185fdefc3e73af5d29326fffbabf952cf9a3 authored over 7 years ago by Álvaro Felipe Melchor <[email protected]>
More fixes to shrink json compilation

6d40a52406bfc7c36cf7677a545fcc5f2168d30f authored almost 8 years ago by pancake <[email protected]>
SDB_IPI must be static and hidden

550cea85294e353070406d1e08909df6143e9b5e authored almost 8 years ago by pancake <[email protected]>
Initial use of SDB_IPI

71f841e41359d2a6b719ad76b04173635e289499 authored almost 8 years ago by pancake <[email protected]>
Fix some pedantic warnings

ddd923c94269ea2be131ac0dea9712f0987a5271 authored almost 8 years ago by pancake <[email protected]>
Be more precise in what we ifndef

80202503afe1bee9b754bf35b8ded0463f59e246 authored almost 8 years ago by pancake <[email protected]>
minor fix that aim to fix a warning in sdb-update branch

cf18897fdb90938689fdcfc958cab369c0d0e9b9 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
Compared key_len in ht_find

My fault ... I forgot to include it after clean it up.

9cc4fb16fdcd9dd5615ac72e3f75c1e5be8f7a21 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
Deprecate the chkkey test

bb43968ca648c0712e30f775cd41f9236ff176c0 authored almost 8 years ago by pancake <[email protected]>
Completely remove sdb_check

ef3a84a04ebbc707701b8e420c674712e31c63d6 authored almost 8 years ago by pancake <[email protected]>
Remove key/value contents checks, avoid strlen check on unnecessary places

14d40b2b7b875e013de54c855729fae309c85dd4 authored almost 8 years ago by pancake <[email protected]>
added test for general ht

a4b4cbfbe65ce84bea81d7bcf68c560c540be413 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
Make some change in hashtable implementation

ht.c and ht.h old a general implementation, on the other hand sdbht.c
and sdbht.h use ht.c and h...

a7eb15a627423509f2d894d41e5a5416b6dc4832 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
Run the no-mman thru the suite

f282e22cc38678382b2009691c6ba27fd136bd45 authored almost 8 years ago by pancake <[email protected]>
Fix leaks in cdb_init, and properly check mmap fails

964f7e41c358c937e8d02950643668783354c6db authored almost 8 years ago by pancake <[email protected]>
Properly initialize cdb's fd to avoid a close(0)

cafbe0cd88343fdd3414611720e32fd563804479 authored almost 8 years ago by pancake <[email protected]>
Fix tests without MMAN

fe5c7938615062853a0c31f3216379aa9fb7f962 authored almost 8 years ago by pancake <[email protected]>
Allow USE_MMAN to be redefined at build time

dd2adf1a89a3271dd2b57daf3da94c082067faad authored almost 8 years ago by pancake <[email protected]>
Cleanup indentation

5c9a41667be98b4da171393daf7976ddd2e53c0a authored almost 8 years ago by pancake <[email protected]>
Release 0.11.0 and fix two covs

0cf8048dbf64ce8005ea760632a28b71ecafe710 authored almost 8 years ago by pancake <[email protected]>
Fix another underflow

6c0797dee197fdbc015cadec1e6fdfdb588b55f4 authored almost 8 years ago by pancake <[email protected]>
Fix negative offset pointer issue in array

981e081aa130969f04e75210f06fbccc6e4395de authored almost 8 years ago by pancake <[email protected]>
Fix two crashes

d83d9c3eee66dc46b2f21e5a3499f45f52a4b596 authored almost 8 years ago by pancake <[email protected]>
Fix null deref in strbuf

b4f7ea703251b7f34f3c013083a7e0ae456b81cb authored almost 8 years ago by pancake <[email protected]>
Properly check integer boundaries in sdb_expire_set

7938d206d0cc45605e0a07c653df1d84e9d73f94 authored almost 8 years ago by pancake <[email protected]>
refactor sdb_foreach and sdb_sync

29d29b34aae33d592ae792eab1d4299ba4d0da93 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
clean up + refactor + changes due to sdb_dump_dupnext

84e8ed38d5adb91b98a29324cc0520e05f64fdf1 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
changes in sdb_dump_dupnext to save some malloc+free

this should make sdb_foreach quickest

cbfcb241b8a88fb49ab13ad26896d3513d390a3b authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
refactor ht.c

01dfce8b709953b99674dd130c2ff22f899f3922 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
respect 80 column size

d9ffcc8175873cfec3aa0c0127a09ac48dce312e authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
use cdb_read instead of read

3e80962b8f439476b2aecbcb40e31f18588ae613 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
coding style fixes

93c8e26ea6178bd77eedb36f30f3c4a346e78cc0 authored almost 8 years ago by Álvaro Felipe Melchor <[email protected]>
Add INSERTORDER wip implementation

a3362a9a31972a0b44bdf753d2b45dd5b8ffe333 authored almost 8 years ago by pancake <[email protected]>
Fix memleak in realloc fail for stdin_slurp

3bbfb1d401a84a4365e5bb0bc213b0eaebd38c1c authored almost 8 years ago by pancake <[email protected]>
Add sdb_kv_match, sdb_foreach_match and ~~ query syntax

94f3ae45484e98b1092f088d3e872ba1f1d64082 authored almost 8 years ago by pancake <[email protected]>
Boolify cdb and some reindent

77edc5d7a4481f45dafd8ede0d64a8d803cbe483 authored almost 8 years ago by pancake <[email protected]>
Boolify sdb_expire_set

2d56308ad3d8125282eee7d952e9fa0dae212fb7 authored almost 8 years ago by pancake <[email protected]>
Avoid more ternary checks in ht

d10c9445c8458bd2de2bda85fc4344ea4638f9a3 authored almost 8 years ago by pancake <[email protected]>
Avoid ternary check for ht->cmp

8087e9c5a95cb40fa0b815805cfbb4c1a412d1a1 authored almost 8 years ago by pancake <[email protected]>
Avoid more null deref checks for ht->calcsize

81d3fe5963e87d1a7e33ca12d64fb35bc5bfc7e1 authored almost 8 years ago by pancake <[email protected]>
Use GROWABLE instead of DISABLE(D)_GROW

c8038489ce1ed279c58471f19ffdc2ca42373c06 authored almost 8 years ago by pancake <[email protected]>
Fix foo=1,2;-foo= infinite loop

54a03161353b54b5b0d09354b9ba615c462f7378 authored almost 8 years ago by pancake <[email protected]>
Fix memleak in [0]x=

0c77e149cb145fa754fa1e669b45ba5fd4647578 authored almost 8 years ago by pancake <[email protected]>
Fix memleak in slurp_stdin

77c38405b69c973bfcc2c1cb9e9bc5c71697c8fc authored almost 8 years ago by pancake <[email protected]>
Fix compiler optimization bug that turned -1 into 255

c1b1e407b45b98b44c62943ffec670eaf57e95fd authored almost 8 years ago by pancake <[email protected]>
Fix null handling in ls_sort

29b99269291a544484d59f3c337baf9b3fa0477e authored almost 8 years ago by pancake <[email protected]>
Fix null deref in ht

7cad4a4506f6535e1c425b70207dee0bdea07756 authored almost 8 years ago by pancake <[email protected]>