Re: Handling ioctl() argp memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you run over it with valgrind already?


On 3/4/07, leslie.polzer@xxxxxxx <leslie.polzer@xxxxxxx> wrote:
On Sun, Mar 04, 2007 at 05:52:20PM +0100, Markus Rechberger wrote:

> could you show us the sourcecode?
Take a look at the main function of the attached file.
I'm allocating memory at the start for new_map, but when I attempt
to free it at the end, libc complains.

I think now it's not related to the ioctl, since freeing 'map' works
(which is also used with ioctl), but freeing 'mapping' does not, despite
it being not passed via ioctl.

The problem has to be somewhere else, but I cannot see where...

  Leslie

--
gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83
http://nic-nac-project.de/~skypher/



--
Markus Rechberger
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux