Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: explanation, gurus? :-) (image memory representation)

From: dockimbel:free at: 21-Aug-2001 16:56

Howdy Jeff ! Thanks for your enlightening reply ! Jeff Kreis wrote:
> Howdy, DocKimbel: > > > > What about this one? > > > > > > img: make image! [10x10 #{FFFFFF}] == make image! [10x10 > > > #{ > > > FFFFFFCC96CFD8A9CD0000000A00004C96CFE8B0CD0000000A00001C90CF > > > E8B0CD0000000A0000C4E3D9E8B0CD0000000A000084E... > > > > That's clearly a bug. The byte sequence that appear is a > > Rebol memory space dump !! It's more than a simple bug, > > it's a potential security hole ! > >[...] It'd be hard for someone to programmatically exploit > this current behavior by looking a random window of heap > memory [...]
Sure, i tried without any success ;-) That's why i said "potential".
> The next Library revision will allow all string-series! types > to be passed where a library routine expects string!-- that > includes such types as image, binary, issue, email, etc.
That's a VERY good news !
> RETURING these types is a whole different issue, though. :-)
Opening the internal Rebol API to make external components might be a more interesting solution. I remember some discussions about that on /link, RT's answer was : ok, but wait for the API to be freezed. (or something like that). Are we closed to that state ? Best regards, DocKimbel.