benilla-re systems structs docs

strncmp

function · crt · primitive

Address
0x40de80 · 56 bytes, up to 0x40deb7
Meaning
Compares at most n bytes of two strings, case-sensitive
Confidence
verified, proof one
Finding
objectlayer/party#guild-events

Finding: Guild events in objectlayer: party, guild and petitions

0x92 (0x5e7180) reads a type, a u8 count and that many strings of at most 0x100 into three 0x100-byte stack slots, unbounded, so a fourth string overruns the frame. Types 0, 1 and 3 to 8 show the promote, demote, join, leave, remove, leader-is, leader-changed and disbanded messages; 2, the MOTD, signals GUILD_MOTD; 10 renames the rank atoi(first) to the second string, unchecked; 12 and 13 show a member signing on or off; 11 does nothing; 9 and any type above 13 show ERR_GUILD_INTERNAL. Every type ends in 0x4d1160(1) except 12, 13 and a failed gate of 10.

The derivation is in the doc.

Callers 15

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.