K on Nostr: fyi: i think grain has some serious issues on reading some index of an array without ...
fyi: i think grain has some serious issues on reading some index of an array without checking last time i read the code. i would take a look at the code and tell you the details.
if higher layers of your code are not checking this, then it would ve easy to make it to crash...
maybe i opened a pr.
Published at
2025-01-14 21:47:37Event JSON
{
"id": "8b23faefea6ffa02a7a20dc785673c7af4b3803c12b6f5ce9c759b3efe9c1207",
"pubkey": "bd4ae3e67e29964d494172261dc45395c89f6bd2e774642e366127171dfb81f5",
"created_at": 1736891257,
"kind": 1,
"tags": [
[
"e",
"e82218130dfcab76aab18e14a015422b3b24339a09294603b5a9a90b19be7acc",
"",
"root"
],
[
"e",
"f42df1952484c28d31e4b2be91fde09e4f47b2a7c66c307efcd992ff7f99a741",
"",
"reply"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b"
]
],
"content": "fyi: i think grain has some serious issues on reading some index of an array without checking last time i read the code. i would take a look at the code and tell you the details.\n\nif higher layers of your code are not checking this, then it would ve easy to make it to crash...\n\nmaybe i opened a pr. ",
"sig": "5cc8af9d6d40e26c840e2dbeeccb215fa1e65c6a4ce30e0507a4fbff731e8d9006c0a2608d25bddff7d2e7d7b8fc146a41692bb546d934cd4069982a8d7adde7"
}