Questions tagged [patch]

A patch is a piece of software designed to fix problems with, or update a computer program or its supporting data. This includes fixing security vulnerabilities and other bugs, and improving the usability or performance.

Programmers publish and apply patches in various forms. Because proprietary software authors withhold their source code, their patches are distributed as binary executables instead of source. This type of patch modifies the program executable—the program the user actually runs—either by modifying the binary file to include the fixes or by completely replacing it.

Patches can also circulate in the form of source code modifications. In these cases, the patches consist of textual differences between two source code files. These types of patches commonly come out of open source projects. In these cases, developers expect users to compile the new or changed files themselves.

Because the word "patch" carries the connotation of a small fix, large fixes may use different nomenclature. Bulky patches or patches that significantly change a program may circulate as "service packs" or as "software updates". Microsoft Windows NT and its successors (including Windows 2000, Windows XP, and later versions) use the "service pack" terminology.

In several Unix-like systems, particularly Linux, updates between releases are delivered as new software packages. These updates are in the same format as the original installation so they can be used either to update an existing package in-place (effectively patching) or be used directly for new installations.

2809 questions
1
vote
1 answer

Custom extensions throwing 404 after installing patch for magento

I have installed the following security patches in my magento site: 4291,6237,7616,5344,5994,6285,6482,6788,7405. Before that all of the custom modules worked fine, but now they aren't. Here is my config.xml:
user0509
  • 295
  • 3
  • 18
1
vote
1 answer

403 Forbidden error after installing patches magento

I have installed following security patchs in my site of magento: 4291,6237,7616,5344,5994,6285,6482,6788,7405. But now whenever I try to run any ajax request in admin of magento (logging in as a user). I tried setting permissions of app folder to…
user0509
  • 295
  • 3
  • 18
1
vote
1 answer

supee 7405 Hunk #2 FAILED at 472. Magento 1.8.1

I know how to install patches via shell, but this supee 7405 is giving me a problem. The only error I get is checking file app/code/core/Mage/Checkout/controllers/CartController.php Hunk #2 FAILED at 472. 1 out of 2 hunks FAILED I tried uploading…
Paul
  • 21
  • 1
1
vote
2 answers

Where the Ubuntu’s source can be gotten?

Where can I get Ubuntu's source code? Actually I want It's kernel's code. I know I can get the kernel from kernel.org but as I found out that Ubuntu does some patching on the kernel I want to know what are those patches. And yes I know Ubuntu's…
Kamran
  • 451
  • 1
  • 5
  • 13
1
vote
1 answer

How to apply patch when diff is derived from two different directory structures

I've been banging my head on this one all day, and can't solve it. I'm trying to patch a file with a generated diff file, where the diff file was generated from two different locations. The destination file location is also different. The locations…
Paul
  • 443
  • 8
  • 18
1
vote
1 answer

How to create a patch for a directory in ClearCase?

I did some research on how to create a patch for a directory. For example, How to create a patch for a whole directory to update it? But the first step is to ask you to create a separate directory that contains all your change. But, since I made…
xxks-kkk
  • 2,336
  • 3
  • 28
  • 48
1
vote
0 answers

How to get patches of modified (Android) Linux kernel?

I'm doing something interesting on the Android kernel, but the kernel from AOSP has problems with certain problems and the kernel won't compile with some options enabled (some stray symbols missing). So I'm thinking of adding the mainline kernel the…
Johnson Steward
  • 534
  • 3
  • 16
1
vote
2 answers

Patch Removal Keeps Failing Due To Incorrect MSI Retrieval

I have a package which you can install using an MSI. The installation log of this package shows the following properties when executing the msiexec command: Property(S): DATABASE = C:\Windows\Installer\2bb7bb.msi Property(S): OriginalDatabase =…
sushi7777
  • 179
  • 3
  • 16
1
vote
0 answers

How to create stock candle chart with patches in netlogo?

I want to draw a candle chart of a stock's historical data using patches, so that this candle chart is like a background where turtles can running on top of it. are patches alone capable of this task or do I have to use turtles instead of patches? I…
Daniel
  • 1,428
  • 3
  • 16
  • 35
1
vote
1 answer

How to apply the patch for fully hashed menezes-qu-vanstone (fhmqv) to crypto++ that has been installed from the Ubuntu repository

I want to use Elliptic Curve Diffie-Hellman (ECDH) key exchange protocol for a key agreement process. It is already implemented in crypto++ library and I wanted to utilize it. I have already installed crypto++ (by typing sudo apt-get... command in a…
Samet Tonyalı
  • 214
  • 2
  • 9
1
vote
1 answer

restangular patch nested field

I'm having troubles patching a nested object with Restangular. The object I'm patching to: { "unread_notification_count": 18, "notification_settings": { "mention": { "email_notification": true, "platform_notification": true, …
Xiduzo
  • 897
  • 8
  • 24
1
vote
1 answer

how do I place my turtles within a square of 5 x 5 patches and 10 x 10 patches?

I am trying to randomly place my turtles within a square of 5 by 5 patches, I have 2 questions as below: Is below code correct? setxy (50 + random 5) (60 + random 5) How do I make a 10 x 10 patch square?
kaka
  • 597
  • 3
  • 5
  • 16
1
vote
1 answer

Sent parameter through PATCH android

When I click save button, it will do background PATCH task with a parameter flexid: btnSave.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub …
1
vote
0 answers

Magento security patch reinstall

I have just restored all my files for magento and I am trying to install the all the patches but i am getting this error can anyone help. sh PATCH_SUPEE-5994.sh Checking if patch can be applied/reverted successfully... ERROR: Patch can't be…
firbest
  • 11
  • 1
1
vote
1 answer

How do i patch a jar with another jar via the classpath (replacing classfiles)

I have two jarfiles, one is the minecraft server spigot.jar, the other is my own jar (patch.jar) with several small custom classes in it. The classes in patch.jar need to replace classes in spigot.jar, i have read numerous "tutorials" and questions…