mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evgeniy <shubin_evgeniy@mail.ru>
To: linux-kernel@vger.kernel.org
Subject: bug in kernel
Date: Mon, 14 Mar 2005 17:48:05 +0300	[thread overview]
Message-ID: <200503141748.05661.shubin_evgeniy@mail.ru> (raw)

Here is a simple program.

#include <stdio.h>
#include <errno.h>
main(){
  int err;
  err=read(0,NULL,6);
  printf("%d %d\n",err,errno);
}

I think that it should be an error : Null pointer assignment, like in windows.
But in practise it is not so. 
Mandrake Linux kernel 2.4.21-0.13mdk
I am a programmer too and i am very interested to solve this problem. Please, 
send me fragment of sourse code of kernel with this bug.
Thanks.
Sorry for my English

             reply	other threads:[~2005-03-14 14:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14 14:48 Evgeniy [this message]
2005-03-14 14:51 ` Arjan van de Ven
2005-03-14 14:55   ` Arjan van de Ven
2005-03-14 15:22 ` Bernhard Rosenkraenzer
2005-03-14 15:55 ` Martin Zwickel
2005-03-14 16:57 ` linux-os
2005-03-14 15:47 Pat Kane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503141748.05661.shubin_evgeniy@mail.ru \
    --to=shubin_evgeniy@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®