View Issue Details

IDProjectCategoryView StatusLast Update
0000466LDMud 3.3Runtimepublic2018-01-29 22:57
ReporterGnomi Assigned Tolars 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi686OSDebian GNU/LinuxOS Version3.1
Product Version3.3.713 
Fixed in Version3.3.714 
Summary0000466: Object name hashs are calculated with variable length
DescriptionIn otable.c there are two defines for calculating the object name hash: ObjHash and ObjHashStr depending on whether a C string or mstring is given. ObjHashStr calculates the hash with the first 100 characters of the string, ObjHash uses the mstring hash which is based on the first 256 characters.

As rename_object and load_object use an mstring, but find_object uses a C string, find_object can't find objects with names longer than 100 characters.

Greetings,
Gnomi.
TagsNo tags attached.

Activities

lars

2006-04-23 14:52

reporter   ~0000505

The hash length used by the mstring hasher is now exported to other modules as well, including the object table.

Issue History

Date Modified Username Field Change
2006-04-22 15:44 Gnomi New Issue
2006-04-23 14:52 lars Status new => resolved
2006-04-23 14:52 lars Fixed in Version => 3.3.714
2006-04-23 14:52 lars Resolution open => fixed
2006-04-23 14:52 lars Assigned To => lars
2006-04-23 14:52 lars Note Added: 0000505
2007-10-06 21:55 lars Status resolved => closed
2010-11-16 10:42 lars Source_changeset_attached => ldmud.git master 67a9fd78
2018-01-29 19:59 lars Source_changeset_attached => ldmud.git master 67a9fd78
2018-01-29 22:57 lars Source_changeset_attached => ldmud.git master 67a9fd78