1.8,frozen, and untaint

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default 1.8,frozen, and untaint



    i'm getting error about calling untaint on a frozen object in 1.8 (kakiwiki).
    i've removed the call to untaint and things seem to work - but would this be
    the preferred method?

    -a

    ====================================
    | Ara Howard
    | NOAA Forecast Systems Laboratory
    | Information and Technology Services
    | Data Systems Group
    | R/FST 325 Broadway
    | Boulder, CO 80305-3328
    | Email: [email]ara.t.howard@noaa.gov[/email]
    | Phone: 303-497-7238
    | Fax: 303-497-7259
    | The difference between art and science is that science is what we understand
    | well enough to explain to a computer. Art is everything else.
    | -- Donald Knuth, "Discover"
    | ~ > /bin/sh -c 'for lang in ruby perl; do $lang -e "print \"\x3a\x2d\x29\x0a\""; done'
    ====================================
    Ara.T.Howard Guest

  2. Similar Questions and Discussions

    1. Locked/Frozen Fields
      I am trying to delete some text fields that used to be part of a target/anchor link. They are frozen like graphics and I am unable to delete them. ...
    2. modify a frozen object
      Hello! I get: stress.rb:11:in `Get': can't modify frozen object (TypeError) when I'm trying to create an object from a class method I have...
    3. Sluggish and frozen
      Whenever I am searching for an image to insert in an email or in a FrontPage web page, my computer wants to add the PS icon to each of the images in...
    4. Gnome 2.2 frozen on startup
      Hi all: After an upgrade this morning of some small packages, like sylpheed-claws and some libraries, Gnome refusses to start after the displaying...
    5. Frozen Tools
      First, what kind of platform and OS are you using? Have the tools ever worked correctly since installing Elements? Have you had any other problems...
  3. #2

    Default Re: 1.8,frozen, and untaint

    >>>>> "A" == Ara T Howard <ahoward@fsl.noaa.gov> writes:

    A> i'm getting error about calling untaint on a frozen object in 1.8
    A> (kakiwiki).

    Well, with 1.6.8 also you can't untaint a frozen object which is tainted

    A> i've removed the call to untaint and things seem to work -
    A> but would this be the preferred method?

    preferred to do what ? If the object is tainted and frozen, ruby will give
    an error if you try to untaint it.


    Guy Decoux


    ts Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139