lkml.org 
[lkml]   [1997]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Write to a closed stream bug.
    On Thu, 18 Dec 1997, Pavel Machek wrote:

    > Hi!
    >
    > > > be performed. It is entirely unacceptable for any function, whether
    > > > it is in a runtime-library, or is coded by an application, to
    > > > pretend that it performed some function that, in fact, it did not.
    > >
    > > try strcpy(0x12543456, 0x247375394)
    > >
    > > shock horror it crashes. You passed it a bad pointer. You did the
    > > same
    >
    > It is ok - strcpy either copies memory, or raises SIGSEGV. That's
    > ok. It reported error.
    >
    > About scaling: Yes, it is true that checking for this condition would
    > require one mov somewhere inn fclose. Do you think that this is an
    > issue?
    >
    In either case, doesn't that mean it is a c library implementaion issue...
    not a kernel issue.

    john alvord


    \
     
     \ /
      Last update: 2005-03-22 13:40    [W:0.019 / U:31.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site