🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #11788

Re: Segmentation fault

#11788
From: X
Date: Fri, 05 Oct 2001 04:49
9 lines
1305 bytes
 Jes�s Carrete :
> .name apunta a una direcci�n de memoria cualquiera, no a una
> en la que hayas reservado memoria expl�citamente con malloc. Es como
> una rray de tama�o 0. Al intentar meter "Jamoncito\n" en �l escribes
> en memoria no reservada y da segfault.

Ya que nos ponemos...
�Y como hago para saber el tama�o alojado en un puntero, si lo �nico que tengo
es el puntero?
Technical Details
Message-ID: <44ejp9.3f1.ln@xxx.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!poolvisp1-mad-240.ipcom.comunitel.NET!not-for-mail
References: <lnhip9.bq.ln@xxx.com> <87lmirknsk.fsf@meltdown.ion>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,b3c8decf211f42e0
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-10-05 09:40:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!poolvisp1-mad-240.ipcom.comunitel.NET!not-for-mail
From: X <x@xxx.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Segmentation fault
Date: Fri, 5 Oct 2001 06:49:08 +0200
Lines: 9
Sender: <sobrino@xxx.com>
Message-ID: <44ejp9.3f1.ln@xxx.com>
References: <lnhip9.bq.ln@xxx.com> <87lmirknsk.fsf@meltdown.ion>
NNTP-Posting-Host: poolvisp1-mad-240.ipcom.comunitel.net (212.145.33.240)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1002300010 20086491 212.145.33.240 (16 [105803])
X-Orig-Path: not-for-mail