Description buffer/0 int

Bug #576115 reported by Dina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JediMUD
New
Undecided
Gatt

Bug Description

If you enter a description which is exactly too long for the description buffer, the game will give you 0 int and 10/13 strength. Deleting the description usually fixes the problem, but sometimes stats have to be reset by a god+.

Revision history for this message
Gatt (gatt) wrote :

What do you mean by "exactly too long"? Could you describe steps to reproduce please?

AP: I'm assuming this is a buffer overflow problem which may well be superceded now we've moved to different player file structures.

Changed in jedimud:
assignee: nobody → Dina (kailyn)
Revision history for this message
Dina (kailyn) wrote :

It very well may be superceded now -- AP would have to let us know on that.

As for "exactly too long" -- I do not recall, at this point, what # of characters the game allows as a description. Whatever that # is, though, is the problem. If, say, it's 160, then if a character makes a description that's 159 characters long or less, they're fine. If a character attempts to make a description that's 161 characters long or more, the game just doesn't allow it. But if they make a description that's exactly 160 characters long, the game allows it, but then messes up the stats.

The way to reproduce this bug would be to first have someone experiment to determine exactly how long the description is allowed to be (or have AP look it up in the code). Then have someone attempt to create a description of exactly that length, then plus one character, then minus one character, to see what happens.

Changed in jedimud:
assignee: Dina (kailyn) → Gatt (gatt)
Revision history for this message
Austinpowers (austinpowers) wrote : RE: [Bug 576115] Re: Description buffer/0 int

Do We want to allow for quest tokens or quest points to be used by the shopkeepers?

Revision history for this message
Dina (kailyn) wrote :

Yes, I think that would be a handy feature, AP. Though I assume it's not actually related to the descr buffer bug?

Revision history for this message
Austinpowers (austinpowers) wrote :

Yeah i sent it via my blackberry. I meant to send it to your email. Sorry

Revision history for this message
Dina (kailyn) wrote :

It's ok :) I'll see if I can get that entered somewhere more appropriate.

Revision history for this message
Jam (jediguts) wrote :

I tried to get this to happen to no avail.

Desc that I entered was:
Line 1:
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
Line 2:
01234567890123456789012345678901234567890123456789012345678901234567

And there was no problem. I assume this was exact total length since the first line is max 1 line length and alt line:
012345678901234567890123456789012345678901234567890123456789012345678
gave message below:

] 012345678901234567890123456789012345678901234567890123456789012345678
] @
String too long. Last line skipped.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.