Displaying 2 results from an estimated 2 matches for "uwords".
Did you mean:
words
1997 Jan 27
2
SECURITY: passwd problem (second edition)
...;
ptr = gbuffer;
- while (*ptr)
+ while (*ptr && wc < STRINGSIZE-1)
{
- while (*ptr && ISSKIP(*ptr))
- {
- ptr++;
- }
-
- if (ptr != gbuffer)
- {
- ptr[-1] = ''\0'';
- }
-
+ while (*ptr && ISSKIP(*ptr)) ptr++;
+ if (!*ptr) break;
uwords[wc++] = ptr;
-
- if (wc == STRINGSIZE)
- {
- uwords[--wc] = (char *) 0; /* to hell with it */
- break;
- } else
- {
- uwords[wc] = (char *) 0;
- }
-
- while (*ptr && !ISSKIP(*ptr))
- {
- ptr++;
- }
-
- if (*ptr)
- {
- *(ptr++) = ''\0'';
- }
+ while (*ptr...
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
Please CC as I''m not subscribed to valgrind-developers.
Under Xen the toolstack is responsible for managing the domains in
the system, e.g. creating, destroying, and otherwise manipulating
them.
To do this it uses a number of ioctls on the /proc/xen/privcmd
device. Most of these (the MMAPBATCH ones) simply set things up such
that a subsequenct mmap call will map the desired guest