Giter VIP home page Giter VIP logo

protomuck's People

Watchers

 avatar

protomuck's Issues

%~ and FMTSTRING when dealing with object reference.

What steps will reproduce the problem?
-> (objref on top of stack) "%~" fmtstring

What is the expected output? What do you see instead?
->If it feeds a object's reference into FMTSTRING's any-data-type flag, it 
should return a string containing an object reference, and NOT a object's name.

What version of the product are you using? On what operating system?
->Latest version, on whatever Hinoserm's server is running. (POSIX UNIX/LINUX? 
I have no clue.)

Please provide any additional information below.

Possible culprit/potential fix:
-=[Code Block]=----=[Copy Pasta, with comment sauce]=-=[F:p_strings.c]=--
/* FROM:Line 2762 */
                if (sstr[scnt] == '~') {
                    switch (oper2->type) {
                        case PROG_OBJECT:
                            sstr[scnt] = 'D'; /* 'D'; is using the %D Reference for FMTSTRING, using a dbref's name instead of the lowercase version */
                            break;
/* TO:Line 2766 */
-=[End of Code Block]=---------------------------------------------------

Original issue reported on code.google.com by [email protected] on 13 Jan 2013 at 4:40

DB converstion problem between 2.0b9.05.1 and CVS

This was reported to me by a user. Haven't gotten around to verifying it myself 
yet. I believe the DB format has changed multiple times since the last "stable" 
release; if so we will need to provide a sane upgrade path for users who have 
not been keeping up with CVS updates.

Original issue reported on code.google.com by [email protected] on 31 Dec 2011 at 8:13

Include prims for hmac-md5, et alia

I have no idea how to create prims, so this is likely hopelessly wrong. I'm 
including the patches and work here, though, so I don't lose them.

hmac computation is relatively straightforward; but a separate constant-time 
verification prim is required, as a simple string comparison between two hmacs 
will introduce a trivially exploitable timing attack.

Original issue reported on code.google.com by [email protected] on 4 Oct 2013 at 4:43

Attachments:

TRY-CATCH and MUF labels/JMP don't get along

Alynna reported an issue where using JMP inside of a TRY-CATCH statement can 
produce odd results.  I was able to reproduce on ProtoMUCK 2.0b9.12.3.


Example:

: main
   0 try
      me @
      'test jmp
        "Go planet!"
      test:
        "Test" notify
   catch
   pop
   endcatch
;

Result:

Program Error.  Your program just got the following error.
..., line 5;  TRYPOP: Internal error; TRY stack underflow.

Original issue reported on code.google.com by [email protected] on 23 Jan 2012 at 9:37

CT_MUF connections get byte-processed twice

Breakpoint 20, save_command (d=0xb685c6d8, command=0xb664a4e8 "f", len=1, 
wclen=-1) at interface.c:3586
(gdb) fg
Continuing.
Breakpoint 18, handle_read_event (descr=7, player=-1, command=0xbf848498 "f", 
event=0x0, len=0, wclen=0) at timequeue.c:391
(gdb) bt
#0  handle_read_event (descr=7, player=-1, command=0xbf848498 "f", event=0x0, 
len=0, wclen=0) at timequeue.c:391
#1  0x081af361 in check_connect (d=0xb685c6d8, msg=0xbf898599 "") at 
interface.c:4413
#2  0x081af0dc in do_command (d=0xb685c6d8, t=0xb665d4f8) at interface.c:4345
#3  0x081ae574 in process_commands () at interface.c:4140
#4  0x081a9c84 in shovechars () at interface.c:1915
#5  0x081a76e2 in main (argc=5, argv=0xbf8f9244) at interface.c:767


The above debugger output confirms that CT_MUF connections that get processed 
by READ/TREAD are byte-processed twice; once inside process_input (save_command 
gets called, so this definitely happens), and again inside of check_connect.

Problems with this:
1) This is obviously a waste of processing.
2) The byte-processing loop inside of check_connect is hardwired to validate 
each byte with isprint(), which bypasses per-descriptor encoding preferences 
and will use the server's locale to decide printable status. (currently 
en_US.UTF-8 with UTF8_SUPPORT defined, and standard ANSI without)

Original issue reported on code.google.com by [email protected] on 18 Jan 2012 at 3:39

BREAK_COMMAND lockout in event_wait(for)

What steps will reproduce the problem?
1. Trigger EVENT_WAIT in foreground mode. Do not process the READ event and pop 
it off the stack with the READ prim.
2. Send a single line of text to the game that will put something in your input 
queue. (i.e., must not bypass exit processing like BREAK_COMMAND and 
WHO_COMMAND)
3. Try to use any command that bypasses exit processing; BREAK_COMMAND (@Q) is 
of particular note.

The problem is that only the top item of the input queue gets processed for the 
special commands. This is a rare circumstance where the top item of the queue 
is not getting popped off, and as a result the user's input queue is locked 
until either the program releases them or they force it to abort by 
reconnecting.

Original issue reported on code.google.com by [email protected] on 25 Jan 2012 at 11:45

CT_MUF connections are processed for telnet options

dinfo 7

[Connecting] descr 7 (muf)
Descr Flags: DF_INTERACTIVE DF_COLOR
Termtype: SCREEN-256COLOR    Encoding: RAW
Host: [email protected]
IP: 69.15.43.130(58943) 450F2B82
Online: 00:00  Idle: 7s  Commands: 0

The presence of a negotiated TERMTYPE indicates that CT_MUF connections are 
processed for telnet options. We will need to add a toggle behavior for telnet 
handling on descriptors, and default it to off for CT_MUF connections. A new 
primitive will need to be added to manually toggle this behavior on. (i.e. for 
welcome screen replacement programs)


What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 19 Jan 2012 at 4:10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.