Follow

@neauoire Poring through the uxnasm.c source, I may have spotted a bug, but I'm not sure.

In L163 you check to make sure the macro does not have more than 64 items.

git.sr.ht/~rabbits/uxn/tree/ma

However, in the definition of the macro struct, you have allocated enough space for 256 items, each of length 64 bytes.

Am I reading this right? Should either the check at L163 be increased to 256 or the total allocation for items be decreased to 64?

· · Web · 1 · 0 · 0

@winduptoy that totally is a bug!, the size of the macro shouldn't exceed 64, 256 is the mistake. I'll fix it :) Nice catch

Sign in to participate in the conversation
Merveilles

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.