Women in Technology

Hear us Roar



Article:
  Panther Maintenance Tips
Subject:   update_prebinding buffer overflow
Date:   2003-12-23 10:47:57
From:   anonymous2
Hello,


I'm running OS X 10.3.2, and I always encounter an exactly same buffer overflow error upon running update_prebinding. This is after running Disk Utility, Alsoft DiskWarrior, and Norton Disk Doctor. Here is a sample output.


$ sudo update_prebinding -root / -force
2003-12-23 12:32:51.544 update_prebinding[791] Start of update_prebinding
2003-12-23 12:32:51.567 update_prebinding[791] Start of search for binaries in packages...
2003-12-23 12:32:51.578 update_prebinding[791] Discover library dependencies (0/1 complete)
2003-12-23 12:32:52.653 update_prebinding[791] Discover library dependencies (1/140 complete)
2003-12-23 12:32:53.299 update_prebinding[791] Discover library dependencies (2/140 complete)
2003-12-23 12:32:53.357 update_prebinding[791] Discover library dependencies (3/140 complete)


.
.
.


2003-12-23 12:33:31.042 update_prebinding[791] Discover library dependencies (127/140 complete)
2003-12-23 12:33:31.130 update_prebinding[791] Discover library dependencies (128/140 complete)
buffer overflow!
Abort trap



It always overflows at 128. I thought it might have to do with a bug in sudo, but the same problem recurred when I logged in as root and executed the command without sudo. Could you please tell me what I'm doing wrong?


-anseok

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • update_prebinding buffer overflow
    2004-01-07 19:28:40  anonymous2 [View]

    I get this in prebinding. What does this mean?

    Services/SyncServer.app/Contents/Resources/synctool:prebinding can't be redone for: /System/Library/CoreServices/SyncServer.app/Contents/Resources/synctool (for architecture ppc) because larger updated load commands do not fit (the program must be relinked).

    pepper91@bellsouth.net
  • FJ de Kermadec photo update_prebinding buffer overflow
    2003-12-24 08:17:43  FJ de Kermadec | O'Reilly Blogger [View]

    Hi !

    This is indeed interesting !

    I have never experienced such an issue with the update_prebinding command of Mac OS X. However, sometimes, it can experience difficulties when trying to update the prebinding on a file that is heavily damaged or corrupted.

    You may want to see at which point precisely the command experiences issues and if the same problem happens on a clean install.

    Would it not be the case, you may want to repair or delete (if possible) the affected file.

    You may want to post on the UNIX forums of the Apple discussions where you will find many experienced users who will be able to help you troubleshoot this issue in more detail than we can do it here.

    Let me know if this helps !

    F.J.