HP3000-L Archives

April 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Ellis, Steve (COMPRINT S)" <[log in to unmask]>
Reply To:
Ellis, Steve (COMPRINT S)
Date:
Wed, 3 Apr 2002 17:02:25 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Well, if you mean that the LIST array presented to IMAGE is smller than the
string needed to contain the entire list the most obvious would be a -52
status returned by DBGET, since the list would probably contain what IMAGE
would consider to be an invalid data item name.

If you mean that the length of all the items in the LIST presented to DBGET
is longer than the BUFFER allocated to hold them, you'd have a classic case
of buffer overrun, and anything up to and including a program abort is
probable.

-----Original Message-----
From: Joe Amuquandoh [mailto:[log in to unmask]]
Sent: Wednesday, April 03, 2002 4:45 PM
To: [log in to unmask]
Subject: [HP3000-L] IMAGE


Hello all,

In IMAGE DBGET, what happens if the LIST of ITEMS is longer than the BUFFER
being put into.
Besides the obvious truncation, is there any impact?

Thanks.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2