🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Brian Gregory Mon, 18 Mar 1996 19:42
BoundsChecker and fgets fmalloc problems
#4905
Author: Brian Gregory
Date: Mon, 18 Mar 1996 19:42
20 lines
958 bytes
I am using Bounds Checker v2.5, and am having a problem finding a
memory leak it is reporting...

Example:

fgets( szBuf, 799, fpIn );

szBuf is an 800 character buffer (pre-sized array)
fpIn IS a valid pointer
no memory is corrupt before the fgets line
The application is a windows app, written in straight C with a large
memory model.

Any help on resolving this recurrent problem, or just an indication
that this is perhaps an erroneous error reported by Boundschecker
would be greatly appreciated.

Thanks, 
Brian Gregory
bri@primenet.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads